From 9532a7fa7590b408f515ea56f9128b6a4410a66d Mon Sep 17 00:00:00 2001 From: Shawn Busolits Date: Fri, 9 Feb 2018 10:45:20 -0800 Subject: [PATCH] feat: Add support for full slot ads by changing the default non-linear ad slot height from 1/3 player height to 100% player height. (#501) --- src/sdk-impl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sdk-impl.js b/src/sdk-impl.js index f9e21636..c5d15444 100644 --- a/src/sdk-impl.js +++ b/src/sdk-impl.js @@ -218,7 +218,7 @@ SdkImpl.prototype.requestAds = function() { this.controller.getPlayerWidth(); adsRequest.nonLinearAdSlotHeight = this.controller.getSettings().nonLinearHeight || - (this.controller.getPlayerHeight() / 3); + this.controller.getPlayerHeight(); adsRequest.setAdWillAutoPlay(this.controller.getSettings().adWillAutoPlay); const adWillPlayMuted =