Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
An important part of any type of video is subtitles and captions. Subtitles provide a translation of what's being said for those who don't understand the language, while captions are intended for the deaf and hard of hearing and notate important sounds like a knock on the door, in addition to what's being said. To show you a demo of captions I have a page here on the VideoJS website. (Music playing) (Male speaker: Welcome to this week's episode of Explore Californ--) Okay, so you can see the text appear at specific times in the video. Now, while captions and subtitles are important, they are not yet supported by any HTML5 browsers.
Now we need to tell it what kind of track it is. And in this case, it's a captions track. Then we need to provide the source file where the captions are. In this case it's in our video assets folder and podcast-captions.vtt and then we'll end that with a slash.
I'll talk more about VideoJS and how to use it in another movie.
Get unlimited access to all courses for just $25/month.Become a member
110 Video lessons · 50624 Viewers
86 Video lessons · 13781 Viewers
79 Video lessons · 14956 Viewers
350 Video lessons · 101191 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.