diff options
author | kontrollanten <6680299+kontrollanten@users.noreply.github.com> | 2021-05-15 06:30:24 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2021-06-14 13:35:48 +0200 |
commit | 72f611ca1549d711f8cbf5dd08a3f1562a32fabb (patch) | |
tree | 5c3bcbc52d1544c94a229842df7ae0cdf58c79b0 /shared/models/plugins/client/client-hook.model.ts | |
parent | 520bf885c5e75914f85196b8350970f51c3e1976 (diff) | |
download | PeerTube-72f611ca1549d711f8cbf5dd08a3f1562a32fabb.tar.gz PeerTube-72f611ca1549d711f8cbf5dd08a3f1562a32fabb.tar.zst PeerTube-72f611ca1549d711f8cbf5dd08a3f1562a32fabb.zip |
add client hook filter:videojs.options
closes #4086
Diffstat (limited to 'shared/models/plugins/client/client-hook.model.ts')
-rw-r--r-- | shared/models/plugins/client/client-hook.model.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/shared/models/plugins/client/client-hook.model.ts b/shared/models/plugins/client/client-hook.model.ts index 3eedd670b..546866845 100644 --- a/shared/models/plugins/client/client-hook.model.ts +++ b/shared/models/plugins/client/client-hook.model.ts | |||
@@ -53,7 +53,10 @@ export const clientFilterHookObject = { | |||
53 | 'filter:internal.common.svg-icons.get-content.result': true, | 53 | 'filter:internal.common.svg-icons.get-content.result': true, |
54 | 54 | ||
55 | // Filter left menu links | 55 | // Filter left menu links |
56 | 'filter:left-menu.links.create.result': true | 56 | 'filter:left-menu.links.create.result': true, |
57 | |||
58 | // Filter videojs options built for PeerTube player | ||
59 | 'filter:internal.player.videojs.options.result': true | ||
57 | } | 60 | } |
58 | 61 | ||
59 | export type ClientFilterHookName = keyof typeof clientFilterHookObject | 62 | export type ClientFilterHookName = keyof typeof clientFilterHookObject |