Skip to content

Commit

Permalink
fix: Fix locale and numRedirects settings (#584)
Browse files Browse the repository at this point in the history
  • Loading branch information
cmellinas authored and shawnbuso committed Mar 28, 2018
1 parent 6810fb3 commit e4de93d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sdk-impl.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,12 +175,12 @@ SdkImpl.prototype.initAdObjects = function() {

if (this.controller.getSettings().locale) {
this.adsLoader.getSettings().setLocale(
this.controller.getSettings.locale);
this.controller.getSettings().locale);
}

if (this.controller.getSettings().numRedirects) {
this.adsLoader.getSettings().setNumRedirects(
this.controller.getSettings.numRedirects);
this.controller.getSettings().numRedirects);
}

this.adsLoader.getSettings().setPlayerType('videojs-ima');
Expand Down

0 comments on commit e4de93d

Please sign in to comment.