aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets/player/peertube-videojs-typings.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-08-05 11:02:14 +0200
committerChocobozzz <chocobozzz@cpy.re>2020-08-07 08:58:29 +0200
commita950e4c82bd458e924b00698a77c06275a64a46c (patch)
tree11bdeecb8950e6854eee79205823bcbb1e5a437c /client/src/assets/player/peertube-videojs-typings.ts
parent4572c3d0d92f5b1b79b34dbe2c7b6557a8a5b7e4 (diff)
downloadPeerTube-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.ts7
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
121type NextPreviousVideoButtonOptions = {
122 type: 'next' | 'previous'
123 handler: Function
124 isDisabled: () => boolean
125}
126
121type WebtorrentPluginOptions = { 127type WebtorrentPluginOptions = {
122 playerElement: HTMLVideoElement 128 playerElement: HTMLVideoElement
123 129
@@ -194,6 +200,7 @@ type PlaylistItemOptions = {
194export { 200export {
195 PlayerNetworkInfo, 201 PlayerNetworkInfo,
196 PlaylistItemOptions, 202 PlaylistItemOptions,
203 NextPreviousVideoButtonOptions,
197 ResolutionUpdateData, 204 ResolutionUpdateData,
198 AutoResolutionUpdateData, 205 AutoResolutionUpdateData,
199 PlaylistPluginOptions, 206 PlaylistPluginOptions,