Skip to content

Commit 697e943

Browse files
committed
fix(Ads): Fix post-roll playback (#7663)
1 parent e93e8e1 commit 697e943

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/ads/interstitial_ad_manager.js

+4
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,10 @@ shaka.ads.InterstitialAdManager = class {
129129
}
130130
};
131131

132+
this.eventManager_.listen(this.baseVideo_, 'ended', () => {
133+
checkForInterstitials();
134+
});
135+
132136
/** @private {shaka.util.Timer} */
133137
this.timeUpdateTimer_ = new shaka.util.Timer(checkForInterstitials);
134138

0 commit comments

Comments
 (0)