Firstly, I am using JW6, and trying to build a player using all JS variables. I am able to pass the stream url and placeholder image successfully, but I cannot get subtitles to work.
I am able to generate the JSON string correctly, this is the content of the variable "substring":
And I generate the player like so:
But, when playback starts, there is no "CC" button
If I paste the actual string into the "tracks" line, all works fine, the CC button shows up and the subtitle files are loaded correctly
Is this possible at all, or am I missing something?