mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 02:09:37 +02:00
add ...playlist.elements.loaded hook (#4387)
* client: add ...playlist.elements.loaded hook closes #4385 * fix linting error * client: add playlist metadata to video-watch hooks * Prefer using a filter for playlist elements hook Co-authored-by: Chocobozzz <me@florianbigard.com>
This commit is contained in:
parent
8d8a037e3f
commit
c3bb04413e
5 changed files with 56 additions and 30 deletions
|
@ -26,6 +26,10 @@ export const clientFilterHookObject = {
|
|||
'filter:api.video-watch.video.get.params': true,
|
||||
'filter:api.video-watch.video.get.result': true,
|
||||
|
||||
// Filter params/result of the function that fetch video playlist elements of the video-watch page
|
||||
'filter:api.video-watch.video-playlist-elements.get.params': true,
|
||||
'filter:api.video-watch.video-playlist-elements.get.result': true,
|
||||
|
||||
// Filter params/result of the function that fetch the threads of the video-watch page
|
||||
'filter:api.video-watch.video-threads.list.params': true,
|
||||
'filter:api.video-watch.video-threads.list.result': true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue