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 · 45062 Viewers
350 Video lessons · 98405 Viewers
106 Video lessons · 35481 Viewers
79 Video lessons · 12049 Viewers