Localizing a Flash or HTML5 Player V3 Using JavaScript (Deprecated)

You can localize your player user interface using Ooyala Player V3 APIs in JavaScript.

Important: Ooyala Player V3 is deprecated and is scheduled to be disabled on 2018-01-31. After that date, Player V3 will no longer play your video or audio content. Customers still using Player V3 need to migrate to Player V4 (see Migrating from Player V3 and Player Migration FAQ).

The default language for the player user interface (UI) is American English.

For Flash, the Ooyala player is localized in languages listed in the table below. At this time, for HTML5, the Ooyala player is only localized in English and Japanese. The player detects the language selection in the browser and sets the user interface to display text in that language. Here are some things to keep in mind about Player localization:
  • Only Ooyala can add new languages to the player.

  • You can override the language settings. For example, you might set your browser to French but have the player language set to Hebrew. To do this, you need to specify a locale string in the Player's DIV. For example:

    <!-- Player Placement -->
    <div id='playerwrapper'style='width:480px;height:360px;
        OO.Player.create(.....{ locale: 'he' });>

The following table lists the valid values for the locale parameter.

Language String Player Support
English en Flash, HTML5
German de Flash
Spanish es Flash
French fr Flash
Italian it Flash
Japanese ja Flash, HTML5
Polish pl Flash
Portuguese pt Flash
Russian ru Flash
Simplified Chinese zh-hans Flash
Traditional Chinese zh-hant Flash
Arabic ar Flash
Catalan ca Flash
Czech cs Flash
Danish da Flash
Dutch nl Flash
Finnish fi Flash
Greek el Flash
Hebrew he Flash
Hungarian hu Flash
Icelandic is Flash
Korean ko Flash
Malay ml Flash
Norwegian no Flash
Persian fa Flash
Punjabi pa Flash
Romanian ro Flash
Serbian sr Flash
Croatian hr Flash
Bosnian bs Flash
Slovenian sl Flash
Slovak sk Flash
Swedish sv Flash
Thai th Flash
Turkish tr Flash
Ukranian uk Flash
Vietnamese vi Flash
Indonesian id Flash
Hindi hi Flash
Brazilian Portuguese pt-br Flash
Portuguese (Portuguese) pt-pt Flash
Spanish (Spanish) es-es Flash
Latin Spanish es-419 Flash
British English eng-gb Flash
US English en-us Flash

Was this article helpful?