Skip to content

Commit

Permalink
Merge pull request #266 from ooyala/player-3519
Browse files Browse the repository at this point in the history
Player 3519
  • Loading branch information
aeng7 authored Jul 10, 2018
2 parents 473cbec + 82f8414 commit 29cbc61
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion js/google_ima.js
Original file line number Diff line number Diff line change
Expand Up @@ -1206,7 +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);
google.ima.settings.setLocale(OO.getLocale());
if (_amc.uiLanguage)
{
google.ima.settings.setLocale(_amc.uiLanguage);
}
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 29cbc61

Please sign in to comment.