## Subtitle tracks
To add subtitles to your video, upload a VTT file to the file field, or
link to a VTT file when using a Link field. Enter the language name or
two-letter code in the description field. Use the English or local language
name.
README.md says "the file field", what I interpret as the same file field as the video file. The video field of the video module has no description field. I don't know how to fix that so here my feature request. If this missing feature is considered "by design", then pass this to the video project, but documentation should then at least mention incompatibility with the video module.
Comments
Comment #1
Jorrit CreditAttribution: Jorrit commentedSubtitle support is still work-in-progress and it does not work with the video module, you're right about that.
Comment #2
RashDevel CreditAttribution: RashDevel commentedHow can I make Drupal link to my VTT file as a Track instead of as a video source type webm?
I've read through Hyside's post here: https://drupal.org/node/2096353 and it is a good write up.
However, it is not working for me:
First I upload an MP4.
Then I upload the .VTT file and in description put "EN". I've also tried "English" and many other combinations.
However, no matter what I've tried, I can't get Drupal to output the VTT file as type
with type txt/VTT. Instead the HTML is outputed like this:
Am I missing something?
Comment #3
Jorrit CreditAttribution: Jorrit commentedWhat version of the Video.js module are you using? Are you using it in combination with the Video module.
Comment #4
RashDevel CreditAttribution: RashDevel commentedThanks Jorrit - your question helped me work it out. I was using 7x-2.13! Changed to 7.x.3.1 and hey presto it worked as advertised.
I was not using video module either so I realized I posted this in the wrong place all together. Thanks for the answer! Seems like a cool module.
Comment #5
jmcpolin CreditAttribution: jmcpolin commentedI am having the same issues. Unfortunately I still cannot get the subtitles/captions to appear.
I have installed 7.x-3.0-alpha2, alongside both Video-JS 4.6.4. I have also tried video-js 4.0.0.
It is simply not appearing and I do know what what else to do. The video is displaying perfectly, and the skin has updated after installing the JS library, but no caption option.
Can anyone help?
Thank you.
Comment #6
jmcpolin CreditAttribution: jmcpolin commentedI got this working. Thanks.
I am unsure what the issue was, but I updated videojs (video-js-4.8.1) and someone resolved the issue. So in answer to my own question - yes, it worked out of the box (eventually...). Thanks again.
[Update - Subtitles not appearing on Internet Explorer, working on Chrome & Firefox. Also not appearing on iPad. Hopefully this will be updated in the near future.]
Comment #7
peterx CreditAttribution: peterx commentedDocumentation start: https://www.drupal.org/node/2370773
Please contribute.
Comment #8
peterx CreditAttribution: peterx commentedPlease check your test track file as described in the documentation. I will update the documentation if anything is unclear. For the next week, I can test on one version of one distribution of Linux and one version of that Microsoft OS.
Comment #9
mglamanThere isn't a patch, moving back to active.
Comment #10
peterx CreditAttribution: peterx commentedComment #11
jmcpolin CreditAttribution: jmcpolin commentedIn relation to my post above subtitles are now working on IE 11.
However when I update video.js library from 4.8.1 to 4.12.1 they stop working on IE - so I have had to revert back...
Has anyone had any luck with captions/subtitles appearing on iPads? It is still not working for me - no button appearing.
Thanks,
Comment #12
jmcpolin CreditAttribution: jmcpolin commentedHi, just checking and I still cannot get subtitles on an iPad - has no one else had this issue? Any help appreciated.
Thanks