Closed rosspi closed 1 year ago
Hi @rosspi,
the CUES_PARSED event is never triggered. Why is this?
CUES_PARSED
is triggered for VTT and IMSC1 subtitle tracks only when enabled, and always for 608 captions found in the media playlist.
hls.subtitleTracks.length > 0
) or 608 captions?hls.subtitleTrack !== -1
)?Cues for 608 captions are always emitted because they are found in the video segments, and the player will not go back and reload video just because the application has enabled the display of captions. Subtitle segments are only loaded and parsed when enabled which is a prerequisite for this event to emit.
Thanks rob.
My understanding is that if I set renderTextTracksNatively to false in the config:
then a NON_NATIVE_TEXT_TRACKS_FOUND and CUES_PARSED event should be raised (and presumably the latter one multiple times as the video progresses), but the CUES_PARSED event is never triggered. Why is this?
I want to intercept the captions and draw them using a custom html approach.