5 ms·
Thanks, that would be great! I am trying to think how this could work. Generally, subtitles are embedded as a separate track in the video container or as a sid
by s20n 4mo ago
Thanks, that would be great!
I am trying to think how this could work. Generally, subtitles are embedded as a separate track in the video container or as a sidecar .srt file [1].
Perhaps they can be converted and shown using the WebVTT API[2] or <track> tags [3]?
Edit: Maybe that wouldn't work, here's a relevant stackoverflow post [4]
[1] https://en.wikipedia.org/wiki/SubRip https://en.wikipedia.org/wiki/SubRip
[2] https://developer.mozilla.org/en-US/docs/Web/API/WebVTT_API https://developer.mozilla.org/en-US/docs/Web/API/WebVTT_API
[3] https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/track https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/...
[4] https://stackoverflow.com/questions/61446205/webrtc-and-texttrack-caption-to-peer-is-possible https://stackoverflow.com/questions/61446205/webrtc-and-text...