Open vxman opened 7 years ago
Unfortunately not for now. It will support vtt soon, though. So, stay tuned.
Any update on this ?
@ankurss Working on it, probably a few weeks until I merge it though.
Any new about VTT support? Looking for this since Clappr can't handle subtitles with HLS sources.
I'm working with HLS streaming and .vtt subtitle support by adding track files to the video. Or using https://github.com/JMVTechnology/Clappr-Subtitle
HLS + externalTracks with .vtt files does not work for me at the moment with the latest Clappr. With .mp4 videos works perferctly.
Clappr-Subtitle works with SRT captions only now and no language switcher.
@Media182 sorry, my test with Clappr-subtitle is on .srt.
I'm using .vtt without plugins but I'll will open an issue on clappr because I can not change subtitles after choosing one. Both are displayed.
Adding to Clappr options like:
{
"externalTracks": [{
"lang": "pt-BR",
"label": "Português",
"src": "subtitles/pt-BR.vtt",
"kind": "subtitles"
}, {
"lang": "en-US",
"label": "Inglês",
"src": "subtitles/en-US.vtt",
"kind": "subtitles"
}
]
}
Then setting
var video = document.querySelector('video')
video.textTracks[0].mode = 'showing'
But not working when I set
video.textTracks[1].mode = 'disabled'
Hi. Any news about VTT support for hls vod?
Webvtt (vtt) subtitle support for the Clappr player or not, can someone advise? ?