// 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 edit page (upload, URL/torrent import, update) is being initialized
+ 'action:video-edit.init': true,
+
// Fired when the login page is being initialized
'action:login.init': true,
'action:router.navigation-end': true,
// Fired when the registration page is being initialized
- 'action:signup.register.init': true
+ 'action:signup.register.init': true,
+
+ // ####### Embed hooks #######
+ // In embed scope, peertube helpers are not available
+
+ // Fired when the embed loaded the player
+ 'action:embed.player.loaded': true
}
export type ClientActionHookName = keyof typeof clientActionHookObject