Skip to content

Commit

Permalink
fix: Actually use adWillPlayMuted variable I created. (#520)
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnbuso committed Feb 14, 2018
1 parent e4722d0 commit f2837c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sdk-impl.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ SdkImpl.prototype.requestAds = function() {
this.controller.getSettings().adWillPlayMuted !== undefined ?
this.controller.getSettings().adWillPlayMuted :
(this.controller.getPlayerVolume() == 0);
adsRequest.setAdWillPlayMuted(this.controller.getSettings().adWillPlayMuted);
adsRequest.setAdWillPlayMuted(adWillPlayMuted);

this.adsLoader.requestAds(adsRequest);
};
Expand Down

0 comments on commit f2837c4

Please sign in to comment.