// Filter form
'filter:api.signup.registration.create.params': true,
+ // Filter params/result of the function that fetch video playlist elements of the my-library page
+ 'filter:api.my-library.video-playlist-elements.list.params': true,
+ 'filter:api.my-library.video-playlist-elements.list.result': true,
+
// Filter the options to create our player
'filter:internal.video-watch.player.build-options.params': true,
'filter:internal.video-watch.player.build-options.result': true,
'filter:login.instance-about-plugin-panels.create.result': true,
'filter:signup.instance-about-plugin-panels.create.result': true,
+ 'filter:share.video-embed-code.build.params': true,
+ 'filter:share.video-embed-code.build.result': true,
+ 'filter:share.video-playlist-embed-code.build.params': true,
+ 'filter:share.video-playlist-embed-code.build.result': true,
+
+ 'filter:share.video-embed-url.build.params': true,
+ 'filter:share.video-embed-url.build.result': true,
+ 'filter:share.video-playlist-embed-url.build.params': true,
+ 'filter:share.video-playlist-embed-url.build.result': true,
+
+ 'filter:share.video-url.build.params': true,
+ 'filter:share.video-url.build.result': true,
+ 'filter:share.video-playlist-url.build.params': true,
+ 'filter:share.video-playlist-url.build.result': true,
+
// Filter videojs options built for PeerTube player
- 'filter:internal.player.videojs.options.result': true
+ 'filter:internal.player.videojs.options.result': true,
+
+ // Filter p2p media loader options built for PeerTube player
+ 'filter:internal.player.p2p-media-loader.options.result': true
}
export type ClientFilterHookName = keyof typeof clientFilterHookObject
// Fired when a user click on 'View x replies' and they're loaded
'action:video-watch.video-thread-replies.loaded': true,
+ // Fired when the video channel creation page is being initialized
+ 'action:video-channel-create.init': true,
+
+ // Fired when the video channel update page is being initialized
+ 'action:video-channel-update.init': true,
+ 'action:video-channel-update.video-channel.loaded': true,
+
+ // Fired when the page that list video channel videos is being initialized
+ 'action:video-channel-videos.init': true,
+ 'action:video-channel-videos.video-channel.loaded': true,
+ 'action:video-channel-videos.videos.loaded': true,
+
+ // Fired when the page that list video channel playlists is being initialized
+ 'action:video-channel-playlists.init': true,
+ 'action:video-channel-playlists.video-channel.loaded': true,
+ 'action:video-channel-playlists.playlists.loaded': true,
+
// Fired when the video edit page (upload, URL/torrent import, update) is being initialized
'action:video-edit.init': true,
// Fired when the modal to download a video/caption is shown
'action:modal.video-download.shown': true,
+ // Fired when the modal to share a video/playlist is shown
+ 'action:modal.share.shown': true,
// ####### Embed hooks #######
// /!\ In embed scope, peertube helpers are not available