Both html5 and mediaelementjs support subtitles (<track> tag), it would be nice if the videoviewer app could load subtitles for videos.
A quick&dirty hack (for version 0.1.3):
For a video with file name myvideo.mp4 it loads the subtitle myvideo.mp4.vtt.
It's not an ideal solution; even if there is no subtitle with such name, it will still present the radiobutton for selecting it. Also users might want to have more subtitles for a single video (e.g. with different languages). The best solution might be to have file browsing capabilities for selecting the desired subtitle file.
Both html5 and mediaelementjs support subtitles (
<track>
tag), it would be nice if the videoviewer app could load subtitles for videos. A quick&dirty hack (for version 0.1.3):For a video with file name
myvideo.mp4
it loads the subtitlemyvideo.mp4.vtt
.It's not an ideal solution; even if there is no subtitle with such name, it will still present the radiobutton for selecting it. Also users might want to have more subtitles for a single video (e.g. with different languages). The best solution might be to have file browsing capabilities for selecting the desired subtitle file.