diff options
author | Chocobozzz <me@florianbigard.com> | 2021-04-21 15:28:12 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-04-21 15:28:12 +0200 |
commit | 3e0e8d4afded28559b7c473061bbdc31ab542e1c (patch) | |
tree | 6b9a509d8f0054b6e3e5e1f837fee3d05966c206 /client/src/assets/player/peertube-videojs-typings.ts | |
parent | 48d7e4ad13bda061c4f75e32cda4a4f579dc4302 (diff) | |
download | PeerTube-3e0e8d4afded28559b7c473061bbdc31ab542e1c.tar.gz PeerTube-3e0e8d4afded28559b7c473061bbdc31ab542e1c.tar.zst PeerTube-3e0e8d4afded28559b7c473061bbdc31ab542e1c.zip |
Revert "Fix context menu when watching a playlist"
This reverts commit e8bb5b6b3a1e4c2aeab368f01cc5092d8478b893.
We'll refactor this error handler in hls.js v1 upgrade
Diffstat (limited to 'client/src/assets/player/peertube-videojs-typings.ts')
-rw-r--r-- | client/src/assets/player/peertube-videojs-typings.ts | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/client/src/assets/player/peertube-videojs-typings.ts b/client/src/assets/player/peertube-videojs-typings.ts index a48ff2cd0..4a6c80247 100644 --- a/client/src/assets/player/peertube-videojs-typings.ts +++ b/client/src/assets/player/peertube-videojs-typings.ts | |||
@@ -113,18 +113,13 @@ type PeerTubePluginOptions = { | |||
113 | } | 113 | } |
114 | 114 | ||
115 | type PlaylistPluginOptions = { | 115 | type PlaylistPluginOptions = { |
116 | createComponent: boolean | 116 | elements: VideoPlaylistElement[] |
117 | |||
118 | elements?: VideoPlaylistElement[] | ||
119 | 117 | ||
120 | playlist: VideoPlaylist | 118 | playlist: VideoPlaylist |
121 | 119 | ||
122 | getCurrentPosition: () => number | 120 | getCurrentPosition: () => number |
123 | 121 | ||
124 | embedUrl: string | 122 | onItemClicked: (element: VideoPlaylistElement) => void |
125 | embedTitle: string | ||
126 | |||
127 | onItemClicked?: (element: VideoPlaylistElement) => void | ||
128 | } | 123 | } |
129 | 124 | ||
130 | type NextPreviousVideoButtonOptions = { | 125 | type NextPreviousVideoButtonOptions = { |