From 9866921cbf3f8f0925f7ffb3a231d5dfe2d30953 Mon Sep 17 00:00:00 2001 From: kontrollanten <6680299+kontrollanten@users.noreply.github.com> Date: Tue, 11 Oct 2022 08:37:14 +0200 Subject: feat(plugins): add p2p-media-loader options filter (#5318) * feat(plugins): add p2p-media-loader options filter closes #5317 * remove obsolete await --- shared/models/plugins/client/client-hook.model.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'shared') 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 = { 'filter:share.video-playlist-url.build.result': true, // Filter videojs options built for PeerTube player - 'filter:internal.player.videojs.options.result': true + 'filter:internal.player.videojs.options.result': true, + + // Filter p2p media loader options built for PeerTube player + 'filter:internal.player.p2p-media-loader.options.result': true } export type ClientFilterHookName = keyof typeof clientFilterHookObject -- cgit v1.2.3