diff options
Diffstat (limited to 'shared')
-rw-r--r-- | shared/models/plugins/server-hook.model.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/shared/models/plugins/server-hook.model.ts b/shared/models/plugins/server-hook.model.ts index 1f7806d0d..d28f76dfe 100644 --- a/shared/models/plugins/server-hook.model.ts +++ b/shared/models/plugins/server-hook.model.ts | |||
@@ -54,7 +54,11 @@ export const serverFilterHookObject = { | |||
54 | 54 | ||
55 | // Filter result used to check if video/torrent download is allowed | 55 | // Filter result used to check if video/torrent download is allowed |
56 | 'filter:api.download.video.allowed.result': true, | 56 | 'filter:api.download.video.allowed.result': true, |
57 | 'filter:api.download.torrent.allowed.result': true | 57 | 'filter:api.download.torrent.allowed.result': true, |
58 | |||
59 | // Filter result to check if the embed is allowed for a particular request | ||
60 | 'filter:html.embed.video.allowed.result': true, | ||
61 | 'filter:html.embed.video-playlist.allowed.result': true | ||
58 | } | 62 | } |
59 | 63 | ||
60 | export type ServerFilterHookName = keyof typeof serverFilterHookObject | 64 | export type ServerFilterHookName = keyof typeof serverFilterHookObject |