aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets/player/peertube-videojs-typings.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-04-21 09:46:55 +0200
committerChocobozzz <me@florianbigard.com>2021-04-21 15:18:22 +0200
commite8bb5b6b3a1e4c2aeab368f01cc5092d8478b893 (patch)
tree5cb81a909d6789f8803d35e902f6fc7fa822284a /client/src/assets/player/peertube-videojs-typings.ts
parentb7a27f2860982db2322048441d85b7143862d3b7 (diff)
downloadPeerTube-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.ts9
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
115type PlaylistPluginOptions = { 115type 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
125type NextPreviousVideoButtonOptions = { 130type NextPreviousVideoButtonOptions = {