Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 800 Bytes

41-how-to-change-text-in-theoplayer.md

File metadata and controls

22 lines (17 loc) · 800 Bytes

How to change text in THEOplayer

Using language localization, you should be able to change any text in the player to the one you desire.

Language localization is not limited to only translating. It can also be used to change any text in the player.

You can change the language localization in the player configuration.

ui: {
      // your other ui configuration
      language: 'fr',
      languages: { 'fr':
                          {
                           "Something went wrong during native playback." : "Insert your desired text here"
                           // any other translation
                           }
                     }
      }

An example on how to use language localization can be found here.