diff options
author | Chocobozzz <me@florianbigard.com> | 2020-08-05 11:02:14 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-08-07 08:58:29 +0200 |
commit | a950e4c82bd458e924b00698a77c06275a64a46c (patch) | |
tree | 11bdeecb8950e6854eee79205823bcbb1e5a437c /client/src/assets/player/peertube-videojs-typings.ts | |
parent | 4572c3d0d92f5b1b79b34dbe2c7b6557a8a5b7e4 (diff) | |
download | PeerTube-a950e4c82bd458e924b00698a77c06275a64a46c.tar.gz PeerTube-a950e4c82bd458e924b00698a77c06275a64a46c.tar.zst PeerTube-a950e4c82bd458e924b00698a77c06275a64a46c.zip |
Add previous button
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, 7 insertions, 0 deletions
diff --git a/client/src/assets/player/peertube-videojs-typings.ts b/client/src/assets/player/peertube-videojs-typings.ts index b72c4b0f9..a359b8595 100644 --- a/client/src/assets/player/peertube-videojs-typings.ts +++ b/client/src/assets/player/peertube-videojs-typings.ts | |||
@@ -118,6 +118,12 @@ type PlaylistPluginOptions = { | |||
118 | onItemClicked: (element: VideoPlaylistElement) => void | 118 | onItemClicked: (element: VideoPlaylistElement) => void |
119 | } | 119 | } |
120 | 120 | ||
121 | type NextPreviousVideoButtonOptions = { | ||
122 | type: 'next' | 'previous' | ||
123 | handler: Function | ||
124 | isDisabled: () => boolean | ||
125 | } | ||
126 | |||
121 | type WebtorrentPluginOptions = { | 127 | type WebtorrentPluginOptions = { |
122 | playerElement: HTMLVideoElement | 128 | playerElement: HTMLVideoElement |
123 | 129 | ||
@@ -194,6 +200,7 @@ type PlaylistItemOptions = { | |||
194 | export { | 200 | export { |
195 | PlayerNetworkInfo, | 201 | PlayerNetworkInfo, |
196 | PlaylistItemOptions, | 202 | PlaylistItemOptions, |
203 | NextPreviousVideoButtonOptions, | ||
197 | ResolutionUpdateData, | 204 | ResolutionUpdateData, |
198 | AutoResolutionUpdateData, | 205 | AutoResolutionUpdateData, |
199 | PlaylistPluginOptions, | 206 | PlaylistPluginOptions, |