Skip to content

Commit

Permalink
fix(Ads): Fix usage of ENABLE-SKIP-FOR in Interstitals (#7652)
Browse files Browse the repository at this point in the history
  • Loading branch information
avelad authored Nov 25, 2024
1 parent c10b796 commit 46ab1cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ads/interstitial_ad_manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,7 @@ shaka.ads.InterstitialAdManager = class {
skipOffset = isSkippable ? 0 : null;
}
}
const enableSkipForValue = skipControl['X-ENABLE-SKIP-FOR'];
const enableSkipForValue = skipControl['ENABLE-SKIP-FOR'];
if (enableSkipForValue instanceof Number) {
skipFor = parseFloat(enableSkipForValue);
if (isNaN(enableSkipForValue)) {
Expand Down

0 comments on commit 46ab1cb

Please sign in to comment.