Skip to content

Commit

Permalink
[player-3519] Fixing style.
Browse files Browse the repository at this point in the history
  • Loading branch information
pilievOoyala committed Jul 10, 2018
1 parent 5289544 commit 82f8414
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions js/google_ima.js
Original file line number Diff line number Diff line change
Expand Up @@ -1206,11 +1206,15 @@ require("../html5-common/js/utils/utils.js");
//These are required by Google for tracking purposes.
google.ima.settings.setPlayerVersion(PLUGIN_VERSION);
google.ima.settings.setPlayerType(PLAYER_TYPE);
if (_amc.uiLanguage) {
if (_amc.uiLanguage)
{
google.ima.settings.setLocale(_amc.uiLanguage);
} else {
}
else
{
google.ima.settings.setLocale(OO.getLocale());
}

if (this.useInsecureVpaidMode)
{
google.ima.settings.setVpaidMode(google.ima.ImaSdkSettings.VpaidMode.INSECURE);
Expand Down

0 comments on commit 82f8414

Please sign in to comment.