Activate Subtitles #8981
Replies: 1 comment
-
When I add this function in |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everybody,
I would like to activate a subtitle with JS when user switch a theme.
My HLS playlist has this content:
When I turn on/off the subtitle with the player control button, everything works normal. But not when I try the same with JS.
My JS code is this:
After running this code the subtitle menu in player shows the right language, but the subtitle it self is still off.
When I log the tracks it shows also that the cue list is empty. Only when I turn on the subtitle by hand the cue list has entries.
Another thing is also: when the JS code is executed, the subtitle buttons in the player doesn't work anymore.
Do you have any idea how to fix that?
Beta Was this translation helpful? Give feedback.
All reactions