Correctly handle error when remote instance is down
[oweals/peertube.git] / client / src / assets / player / peertube-player.ts
index bf02ce91c695f31fc08285afda98af717fc86b5e..1fca6a7d2c38e0039d23aa1795eb435ac565cbca 100644 (file)
@@ -32,7 +32,7 @@ function getVideojsOptions (options: {
   inactivityTimeout: number,
   peertubeLink: boolean,
   poster: string,
-  startTime: number
+  startTime: number | string
   theaterMode: boolean,
   videoCaptions: VideoJSCaption[],
   controls?: boolean,