diff options
author | kontrollanten <6680299+kontrollanten@users.noreply.github.com> | 2022-10-11 08:37:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-11 08:37:14 +0200 |
commit | 9866921cbf3f8f0925f7ffb3a231d5dfe2d30953 (patch) | |
tree | a90e0ef79a60a739d98d3b1356039e23b7fbd9cb /shared/models/plugins | |
parent | dce2aba1e2c39535ed6af43f6aaf792ead8b0a6e (diff) | |
download | PeerTube-9866921cbf3f8f0925f7ffb3a231d5dfe2d30953.tar.gz PeerTube-9866921cbf3f8f0925f7ffb3a231d5dfe2d30953.tar.zst PeerTube-9866921cbf3f8f0925f7ffb3a231d5dfe2d30953.zip |
feat(plugins): add p2p-media-loader options filter (#5318)
* feat(plugins): add p2p-media-loader options filter
closes #5317
* remove obsolete await
Diffstat (limited to 'shared/models/plugins')
-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 e6313b60e..20e019304 100644 --- a/shared/models/plugins/client/client-hook.model.ts +++ b/shared/models/plugins/client/client-hook.model.ts | |||
@@ -88,7 +88,10 @@ export const clientFilterHookObject = { | |||
88 | 'filter:share.video-playlist-url.build.result': true, | 88 | 'filter:share.video-playlist-url.build.result': true, |
89 | 89 | ||
90 | // Filter videojs options built for PeerTube player | 90 | // Filter videojs options built for PeerTube player |
91 | 'filter:internal.player.videojs.options.result': true | 91 | 'filter:internal.player.videojs.options.result': true, |
92 | |||
93 | // Filter p2p media loader options built for PeerTube player | ||
94 | 'filter:internal.player.p2p-media-loader.options.result': true | ||
92 | } | 95 | } |
93 | 96 | ||
94 | export type ClientFilterHookName = keyof typeof clientFilterHookObject | 97 | export type ClientFilterHookName = keyof typeof clientFilterHookObject |