From 02b2e482e0bdf16432b1ee34e95a71bbad39a4ff Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 22 Oct 2021 16:18:00 +0200 Subject: Fix some old typing issues --- client/src/assets/player/p2p-media-loader/hls-plugin.ts | 4 ---- 1 file changed, 4 deletions(-) (limited to 'client/src/assets/player/p2p-media-loader/hls-plugin.ts') diff --git a/client/src/assets/player/p2p-media-loader/hls-plugin.ts b/client/src/assets/player/p2p-media-loader/hls-plugin.ts index 17b9aba97..71c31696a 100644 --- a/client/src/assets/player/p2p-media-loader/hls-plugin.ts +++ b/client/src/assets/player/p2p-media-loader/hls-plugin.ts @@ -68,10 +68,6 @@ function hlsjsConfigHandler (this: videojs.Player, options: HlsjsConfigHandlerOp player.srOptions_.hlsjsConfig = options.hlsjsConfig } - if (!player.srOptions_.captionConfig) { - player.srOptions_.captionConfig = options.captionConfig - } - if (options.levelLabelHandler && !player.srOptions_.levelLabelHandler) { player.srOptions_.levelLabelHandler = options.levelLabelHandler } -- cgit v1.2.3