Skip to content

Commit 8fb79a3

Browse files
aveladjoeyparrish
authored andcommitted
fix(Ads): Disable interstitials when playing an interstitials (#7621)
1 parent c5e9572 commit 8fb79a3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/ads/interstitial_ad_manager.js

+2
Original file line numberDiff line numberDiff line change
@@ -1000,6 +1000,8 @@ shaka.ads.InterstitialAdManager = class {
10001000
goog.asserts.assert(this.player_, 'Must have player');
10011001
goog.asserts.assert(this.basePlayer_, 'Must have base player');
10021002
this.player_.configure(this.basePlayer_.getNonDefaultConfiguration());
1003+
this.player_.configure('ads.disableHLSInterstitial', true);
1004+
this.player_.configure('ads.disableDASHInterstitial', true);
10031005
const netEngine = this.player_.getNetworkingEngine();
10041006
goog.asserts.assert(netEngine, 'Need networking engine');
10051007
netEngine.clearAllRequestFilters();

0 commit comments

Comments
 (0)