The text tracks I am adding to the videojs player are not being displayed in the player.
I could add remoteTextTrack and I could see the cues being added to the Text track in the console, but for all the cues the displayState is showing as undefined, which is the reason the captions are not rendering. Couldn't understand why this is happening.
The text tracks I am adding to the videojs player are not being displayed in the player.
I could add
remoteTextTrack
and I could see the cues being added to the Text track in the console, but for all the cues thedisplayState
is showing asundefined
, which is the reason the captions are not rendering. Couldn't understand why this is happening.This is how I am adding :
This is the response I am getting in the console for the VTTCue:
I have also tried by adding VTT file using
<track>
as :even this way I couldn't get any captions. Can someone help ?