Closed vvaibhavdesai closed 2 months ago
The way Shaka works in the Demo does not use texttracks, we use our own displayer to show the subtitles. Sorry!
Closing due to inactivity. If this is still an issue for you or if you have further questions, the OP can ask shaka-bot to reopen it by including @shaka-bot reopen
in a comment.
Have you read the Tutorials? Yes
Have you read the FAQ and checked for duplicate open issues? yes
If the question is related to FairPlay, have you read the tutorial?
NA
What version of Shaka Player are you using? 4.10.9
What browser and OS are you using? Na
Please ask your question
https://shaka-player-demo.appspot.com/demo/#audiolang=en-US;textlang=en-US;uilang=en-US;asset=https://storage.googleapis.com/shaka-demo-assets/tos-ttml/dash.mpd;panel=ALL_CONTENT;panelData=SUBTITLES;build=uncompiled
I've observed an issue on a demo website where the textTracks on the video element are not present. Interestingly, my work project exhibits a similar behavior. Additionally, I've noticed that for some content on the demo site (i couldnt find that content again), there exists
Shaka Player's textTrack
object that contains two keys,activeCue
andcue
, both of which are empty. Despite this, subtitles are still being rendered in the player.Could you please help me understand what configuration settings I need to pass to access the
vttCue
fromvideo.textTracks
? I would like to ensure that I can properly access and utilize the cues for custom subtitle rendering by accessing the cue and then rendering it programmatically in the DOM (am sure this must be doable).