mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 10:19:35 +02:00
Add hooks support for video download
This commit is contained in:
parent
c0ab041c2c
commit
4bc45da342
7 changed files with 198 additions and 20 deletions
|
@ -85,8 +85,12 @@ export const clientActionHookObject = {
|
|||
// Fired when the registration page is being initialized
|
||||
'action:signup.register.init': true,
|
||||
|
||||
// Fired when the modal to download a video/caption is shown
|
||||
'action:modal.video-download.shown': true,
|
||||
|
||||
// ####### Embed hooks #######
|
||||
// In embed scope, peertube helpers are not available
|
||||
// /!\ In embed scope, peertube helpers are not available
|
||||
// ###########################
|
||||
|
||||
// Fired when the embed loaded the player
|
||||
'action:embed.player.loaded': true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue