Skip to content

Commit

Permalink
feat: Add support for full slot ads by changing the default non-linea…
Browse files Browse the repository at this point in the history
…r ad slot height from 1/3 player height to 100% player height. (#501)
  • Loading branch information
shawnbuso committed Feb 9, 2018
1 parent 220de3d commit 9532a7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sdk-impl.js
Expand Up @@ -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 =
Expand Down

0 comments on commit 9532a7f

Please sign in to comment.