diff options
Diffstat (limited to 'shared/models/plugins/client/client-hook.model.ts')
-rw-r--r-- | shared/models/plugins/client/client-hook.model.ts | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/shared/models/plugins/client/client-hook.model.ts b/shared/models/plugins/client/client-hook.model.ts index dda03124d..e6313b60e 100644 --- a/shared/models/plugins/client/client-hook.model.ts +++ b/shared/models/plugins/client/client-hook.model.ts | |||
@@ -72,6 +72,21 @@ export const clientFilterHookObject = { | |||
72 | 'filter:login.instance-about-plugin-panels.create.result': true, | 72 | 'filter:login.instance-about-plugin-panels.create.result': true, |
73 | 'filter:signup.instance-about-plugin-panels.create.result': true, | 73 | 'filter:signup.instance-about-plugin-panels.create.result': true, |
74 | 74 | ||
75 | 'filter:share.video-embed-code.build.params': true, | ||
76 | 'filter:share.video-embed-code.build.result': true, | ||
77 | 'filter:share.video-playlist-embed-code.build.params': true, | ||
78 | 'filter:share.video-playlist-embed-code.build.result': true, | ||
79 | |||
80 | 'filter:share.video-embed-url.build.params': true, | ||
81 | 'filter:share.video-embed-url.build.result': true, | ||
82 | 'filter:share.video-playlist-embed-url.build.params': true, | ||
83 | 'filter:share.video-playlist-embed-url.build.result': true, | ||
84 | |||
85 | 'filter:share.video-url.build.params': true, | ||
86 | 'filter:share.video-url.build.result': true, | ||
87 | 'filter:share.video-playlist-url.build.params': true, | ||
88 | 'filter:share.video-playlist-url.build.result': true, | ||
89 | |||
75 | // Filter videojs options built for PeerTube player | 90 | // Filter videojs options built for PeerTube player |
76 | 'filter:internal.player.videojs.options.result': true | 91 | 'filter:internal.player.videojs.options.result': true |
77 | } | 92 | } |
@@ -146,6 +161,8 @@ export const clientActionHookObject = { | |||
146 | 161 | ||
147 | // Fired when the modal to download a video/caption is shown | 162 | // Fired when the modal to download a video/caption is shown |
148 | 'action:modal.video-download.shown': true, | 163 | 'action:modal.video-download.shown': true, |
164 | // Fired when the modal to share a video/playlist is shown | ||
165 | 'action:modal.share.shown': true, | ||
149 | 166 | ||
150 | // ####### Embed hooks ####### | 167 | // ####### Embed hooks ####### |
151 | // /!\ In embed scope, peertube helpers are not available | 168 | // /!\ In embed scope, peertube helpers are not available |