Video playback with subtitles - possible?

  • 1
  • Question
  • Updated 2 years ago
  • Answered
Is there a way for me to set "subtitles on" for the video playback, or for me to format my uploaded video file to indicate "subtitles on"? We do not use audio with our display monitors. Any insight appreciated.
Photo of Catherine Savage

Catherine Savage

  • 142 Points 100 badge 2x thumb

Posted 2 years ago

  • 1
Photo of Robb

Robb, Official Rep

  • 76,676 Points 50k badge 2x thumb
Catherine,

First thing that comes to mind for me would be to encode those subtitles into the video itself. 

Something like this may be your best bet. 

Does anyone else have a recommendation?
You'd have to use an HTML widget with a <video> tag and include the <track> tag.

It looks something like this:

<video muted autoplay loop>
   <source src="http://example.com/videoname.mp4" type="video/mp4">
<track kind="subtitles" srclang="en" src="http://example.com/subtitlesfile.vtt" default> </video>
Photo of HSuarez

HSuarez

  • 11,896 Points 10k badge 2x thumb
Thanks Chris!
Photo of Catherine Savage

Catherine Savage

  • 142 Points 100 badge 2x thumb
Thank you!
Photo of Robb

Robb, Official Rep

  • 76,676 Points 50k badge 2x thumb
Catherine, did you find an option that worked for you?