Interactive video subtitles not working
Submitted by Jake Awardls on Fri, 08/16/2019 - 15:42
Forums:
I seem to be experiencing a problem when adding subtitles to an interactive video, in the past I was sucessfully able to add english subtitles to a video but now when I am trying to add an additional track for lativian subtitles, the track name is selectable in the video but no actual subtitles appear. This also sometimes happens when adding a single subtitle track to an interactive video.
Detailed steps to reproduce the bug (exactly how and when did it happen)
- Edit settings for a h5p interactive video in moodle.
- Select text tracks then add tracks.
- Add .vtt file for the subtitles for track source.
- Save.
- Return to the video, select the subtitle track and see that no subtitles display.
- Moodle version: 3.5.7
- Desktop
- Browers: Chrome, Firefox
- H5P version: 1.17.2 2019031301
- Interactive video
BV52
Mon, 08/19/2019 - 18:42
Permalink
Hi Jake,Please make sure that
Hi Jake,
Please make sure that the source language is set to "lv" and the video is not coming from Youtube. I just did a test and it is working here.
-BV52
Jake Awardls
Tue, 08/20/2019 - 17:31
Permalink
Fixed with some digging
I was able to discover there was an issue with the .vtt file when it had been translated to lativian, there were spaces inbetween the timecodes and a dash was missing from the arrows between them. I also added numbering to match the english .vtt file which was working.
After fixing this the subtitles started working, it would be useful if H5P was able to notify the user that it can't display the subtitles properly but I understand if it's not possible to implement.
For anyone who's had this issue in the future, try editing the .vtt/.webvtt file to see if there's anything wrong with it.
BV52
Tue, 08/20/2019 - 20:14
Permalink
Hi Jake,I'm glad you got it
Hi Jake,
I'm glad you got it working and thank you for getting back to us. Your suggestion is also much appreciated.
-BV52