From cf68ecee181b6e962dc94aa690025a891557a0a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Velad=20Galv=C3=A1n?= Date: Tue, 19 Nov 2024 11:17:13 +0100 Subject: [PATCH] fix(Ads): Disable interstitials when playing an interstitials (#7621) --- lib/ads/interstitial_ad_manager.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ads/interstitial_ad_manager.js b/lib/ads/interstitial_ad_manager.js index a802933f40..34aaa7f67f 100644 --- a/lib/ads/interstitial_ad_manager.js +++ b/lib/ads/interstitial_ad_manager.js @@ -955,6 +955,8 @@ shaka.ads.InterstitialAdManager = class { goog.asserts.assert(this.player_, 'Must have player'); goog.asserts.assert(this.basePlayer_, 'Must have base player'); this.player_.configure(this.basePlayer_.getNonDefaultConfiguration()); + this.player_.configure('ads.disableHLSInterstitial', true); + this.player_.configure('ads.disableDASHInterstitial', true); const netEngine = this.player_.getNetworkingEngine(); goog.asserts.assert(netEngine, 'Need networking engine'); netEngine.clearAllRequestFilters();