diff options
Diffstat (limited to 'client/src/assets/player/peertube-videojs-typings.ts')
-rw-r--r-- | client/src/assets/player/peertube-videojs-typings.ts | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/client/src/assets/player/peertube-videojs-typings.ts b/client/src/assets/player/peertube-videojs-typings.ts index 79a5a6c4d..a96b0bc8c 100644 --- a/client/src/assets/player/peertube-videojs-typings.ts +++ b/client/src/assets/player/peertube-videojs-typings.ts | |||
@@ -41,12 +41,13 @@ type PeerTubePluginOptions = { | |||
41 | autoplay: boolean | 41 | autoplay: boolean |
42 | videoViewUrl: string | 42 | videoViewUrl: string |
43 | videoDuration: number | 43 | videoDuration: number |
44 | startTime: number | string | ||
45 | 44 | ||
46 | userWatching?: UserWatching | 45 | userWatching?: UserWatching |
47 | subtitle?: string | 46 | subtitle?: string |
48 | 47 | ||
49 | videoCaptions: VideoJSCaption[] | 48 | videoCaptions: VideoJSCaption[] |
49 | |||
50 | stopTime: number | string | ||
50 | } | 51 | } |
51 | 52 | ||
52 | type WebtorrentPluginOptions = { | 53 | type WebtorrentPluginOptions = { |
@@ -56,12 +57,16 @@ type WebtorrentPluginOptions = { | |||
56 | videoDuration: number | 57 | videoDuration: number |
57 | 58 | ||
58 | videoFiles: VideoFile[] | 59 | videoFiles: VideoFile[] |
60 | |||
61 | startTime: number | string | ||
59 | } | 62 | } |
60 | 63 | ||
61 | type P2PMediaLoaderPluginOptions = { | 64 | type P2PMediaLoaderPluginOptions = { |
62 | redundancyBaseUrls: string[] | 65 | redundancyBaseUrls: string[] |
63 | type: string | 66 | type: string |
64 | src: string | 67 | src: string |
68 | |||
69 | startTime: number | string | ||
65 | } | 70 | } |
66 | 71 | ||
67 | type VideoJSPluginOptions = { | 72 | type VideoJSPluginOptions = { |