Skip to content

Commit

Permalink
fix(Ads): Fix post-roll playback (#7663)
Browse files Browse the repository at this point in the history
  • Loading branch information
avelad committed Nov 27, 2024
1 parent e93e8e1 commit 697e943
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/ads/interstitial_ad_manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 697e943

Please sign in to comment.