diff options
author | Chocobozzz <me@florianbigard.com> | 2022-04-05 14:03:52 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2022-04-15 09:49:35 +0200 |
commit | 384ba8b77a8e4805c099f5ea12b41c2ca5776e26 (patch) | |
tree | 6b517033d9265d283677b85e0f57486e0e7fd8cf /client/src/assets/player/types/peertube-videojs-typings.ts | |
parent | b211106695bb82f6c32e53306081b5262c3d109d (diff) | |
download | PeerTube-384ba8b77a8e4805c099f5ea12b41c2ca5776e26.tar.gz PeerTube-384ba8b77a8e4805c099f5ea12b41c2ca5776e26.tar.zst PeerTube-384ba8b77a8e4805c099f5ea12b41c2ca5776e26.zip |
Support videos stats in client
Diffstat (limited to 'client/src/assets/player/types/peertube-videojs-typings.ts')
-rw-r--r-- | client/src/assets/player/types/peertube-videojs-typings.ts | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/client/src/assets/player/types/peertube-videojs-typings.ts b/client/src/assets/player/types/peertube-videojs-typings.ts index d9a388681..ad284a671 100644 --- a/client/src/assets/player/types/peertube-videojs-typings.ts +++ b/client/src/assets/player/types/peertube-videojs-typings.ts | |||
@@ -88,23 +88,20 @@ type VideoJSCaption = { | |||
88 | src: string | 88 | src: string |
89 | } | 89 | } |
90 | 90 | ||
91 | type UserWatching = { | ||
92 | url: string | ||
93 | authorizationHeader: string | ||
94 | } | ||
95 | |||
96 | type PeerTubePluginOptions = { | 91 | type PeerTubePluginOptions = { |
97 | mode: PlayerMode | 92 | mode: PlayerMode |
98 | 93 | ||
99 | autoplay: boolean | 94 | autoplay: boolean |
100 | videoViewUrl: string | ||
101 | videoDuration: number | 95 | videoDuration: number |
102 | 96 | ||
103 | userWatching?: UserWatching | 97 | videoViewUrl: string |
98 | authorizationHeader?: string | ||
99 | |||
104 | subtitle?: string | 100 | subtitle?: string |
105 | 101 | ||
106 | videoCaptions: VideoJSCaption[] | 102 | videoCaptions: VideoJSCaption[] |
107 | 103 | ||
104 | startTime: number | string | ||
108 | stopTime: number | string | 105 | stopTime: number | string |
109 | 106 | ||
110 | isLive: boolean | 107 | isLive: boolean |
@@ -230,7 +227,6 @@ export { | |||
230 | AutoResolutionUpdateData, | 227 | AutoResolutionUpdateData, |
231 | PlaylistPluginOptions, | 228 | PlaylistPluginOptions, |
232 | VideoJSCaption, | 229 | VideoJSCaption, |
233 | UserWatching, | ||
234 | PeerTubePluginOptions, | 230 | PeerTubePluginOptions, |
235 | WebtorrentPluginOptions, | 231 | WebtorrentPluginOptions, |
236 | P2PMediaLoaderPluginOptions, | 232 | P2PMediaLoaderPluginOptions, |