From bcc2f2de5fe249689de63c952f04492356e1a654 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?A=CC=81lvaro=20Velad=20Galva=CC=81n?= Date: Fri, 22 Nov 2024 11:32:17 +0100 Subject: [PATCH] fix(Ads): Fix usage of ENABLE-SKIP-FOR in Interstitals See: https://mailarchive.ietf.org/arch/msg/hls-interest/TfPMm5VcabtNnauJUf7qIVcFXrE/ --- lib/ads/interstitial_ad_manager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ads/interstitial_ad_manager.js b/lib/ads/interstitial_ad_manager.js index 2ec6984dad..c021f485bf 100644 --- a/lib/ads/interstitial_ad_manager.js +++ b/lib/ads/interstitial_ad_manager.js @@ -922,7 +922,7 @@ shaka.ads.InterstitialAdManager = class { skipOffset = isSkippable ? 0 : null; } } - const enableSkipForValue = skipControl['X-ENABLE-SKIP-FOR']; + const enableSkipForValue = skipControl['ENABLE-SKIP-FOR']; if (enableSkipForValue instanceof Number) { skipFor = parseFloat(enableSkipForValue); if (isNaN(enableSkipForValue)) {