Start learning with our library of video tutorials taught by experts. Get started
Viewers: in countries Watching now:
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.
There are currently no FAQs about HTML5: Video and Audio in Depth.
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.