I am using HLS.js to play videos and attaching plyr to the element of the HLS.js, which is working fine. But when I try to load captions from a different url, it doesn't work. (PS. I am using ReactJS)
Expected behaviour
Subtitles should load and work as expected
Actual behaviour
Subtitles don't load and word most of the time, but load very occasionally.
I am using HLS.js to play videos and attaching plyr to the element of the HLS.js, which is working fine. But when I try to load captions from a different url, it doesn't work. (PS. I am using ReactJS)
Expected behaviour
Subtitles should load and work as expected
Actual behaviour
Subtitles don't load and word most of the time, but load very occasionally.
The code looks something like
The options I am sending to plyr are
This is how I am loading the subtitles