We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9802264 commit 80041d7Copy full SHA for 80041d7
lib/ads/interstitial_ad_manager.js
@@ -461,8 +461,7 @@ shaka.ads.InterstitialAdManager = class {
461
this.lastTime_ - roundDecimals(interstitial.startTime);
462
if (difference > 0 &&
463
(difference <= 1 || !interstitial.canJump)) {
464
- if (difference > 1 && lastPlayedAd &&
465
- !lastPlayedAd.pre && !lastPlayedAd.post &&
+ if (lastPlayedAd && !lastPlayedAd.pre && !lastPlayedAd.post &&
466
lastPlayedAd.startTime >= interstitial.startTime) {
467
isValid = false;
468
} else {
0 commit comments