diff --git a/lib/ads/interstitial_ad_manager.js b/lib/ads/interstitial_ad_manager.js index 34aaa7f67f..7d0e667f8f 100644 --- a/lib/ads/interstitial_ad_manager.js +++ b/lib/ads/interstitial_ad_manager.js @@ -129,6 +129,10 @@ shaka.ads.InterstitialAdManager = class { } }; + this.eventManager_.listen(this.baseVideo_, 'ended', () => { + checkForInterstitials(); + }); + /** @private {shaka.util.Timer} */ this.timeUpdateTimer_ = new shaka.util.Timer(checkForInterstitials);