This has been deprecated. You can now change button translation through the Portal via Sites > Site > Settings > Player Languages. You can also see that here.

Once you implement your player in your application, you can use these functions to change the text of the widget and the buttons in the popover, for example.

title: "Title of the widget",
previous: "Prev",
next: "Next",
end: "End",
lang_direction: "ltr"

The last function has to be called to redraw the current user interface. You can trigger this event whenever you want, even when topic is playing.

Lang_direction can be:

  • "ltr" - Left to right
  • "rtl" - Right to left

In the near future, you will be able to do this through the portal UI, without coding.