diff options
author | Chocobozzz <me@florianbigard.com> | 2021-04-21 09:46:55 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-04-21 15:18:22 +0200 |
commit | e8bb5b6b3a1e4c2aeab368f01cc5092d8478b893 (patch) | |
tree | 5cb81a909d6789f8803d35e902f6fc7fa822284a /client/src/assets/player/peertube-videojs-typings.ts | |
parent | b7a27f2860982db2322048441d85b7143862d3b7 (diff) | |
download | PeerTube-e8bb5b6b3a1e4c2aeab368f01cc5092d8478b893.tar.gz PeerTube-e8bb5b6b3a1e4c2aeab368f01cc5092d8478b893.tar.zst PeerTube-e8bb5b6b3a1e4c2aeab368f01cc5092d8478b893.zip |
Fix context menu when watching a playlist
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, 7 insertions, 2 deletions
diff --git a/client/src/assets/player/peertube-videojs-typings.ts b/client/src/assets/player/peertube-videojs-typings.ts index 4a6c80247..a48ff2cd0 100644 --- a/client/src/assets/player/peertube-videojs-typings.ts +++ b/client/src/assets/player/peertube-videojs-typings.ts | |||
@@ -113,13 +113,18 @@ type PeerTubePluginOptions = { | |||
113 | } | 113 | } |
114 | 114 | ||
115 | type PlaylistPluginOptions = { | 115 | type PlaylistPluginOptions = { |
116 | elements: VideoPlaylistElement[] | 116 | createComponent: boolean |
117 | |||
118 | elements?: VideoPlaylistElement[] | ||
117 | 119 | ||
118 | playlist: VideoPlaylist | 120 | playlist: VideoPlaylist |
119 | 121 | ||
120 | getCurrentPosition: () => number | 122 | getCurrentPosition: () => number |
121 | 123 | ||
122 | onItemClicked: (element: VideoPlaylistElement) => void | 124 | embedUrl: string |
125 | embedTitle: string | ||
126 | |||
127 | onItemClicked?: (element: VideoPlaylistElement) => void | ||
123 | } | 128 | } |
124 | 129 | ||
125 | type NextPreviousVideoButtonOptions = { | 130 | type NextPreviousVideoButtonOptions = { |