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