diff options
Diffstat (limited to 'shared/models/plugins/client-hook.model.ts')
-rw-r--r-- | shared/models/plugins/client-hook.model.ts | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/shared/models/plugins/client-hook.model.ts b/shared/models/plugins/client-hook.model.ts index b53b8de99..193a3f646 100644 --- a/shared/models/plugins/client-hook.model.ts +++ b/shared/models/plugins/client-hook.model.ts | |||
@@ -80,7 +80,13 @@ export const clientActionHookObject = { | |||
80 | 'action:router.navigation-end': true, | 80 | 'action:router.navigation-end': true, |
81 | 81 | ||
82 | // Fired when the registration page is being initialized | 82 | // Fired when the registration page is being initialized |
83 | 'action:signup.register.init': true | 83 | 'action:signup.register.init': true, |
84 | |||
85 | // ####### Embed hooks ####### | ||
86 | // In embed scope, peertube helpers are not available | ||
87 | |||
88 | // Fired when the embed loaded the player | ||
89 | 'action:embed.player.loaded': true | ||
84 | } | 90 | } |
85 | 91 | ||
86 | export type ClientActionHookName = keyof typeof clientActionHookObject | 92 | export type ClientActionHookName = keyof typeof clientActionHookObject |