HTML and CSS Reference
In-Depth Information
Your browser doesn't support HTML5 video.
<a href="videos/mikethefrog.mp4">Download</a> the
video instead.
</p>
</video>
4. Save the about.html file.
To test out the subtitles, you need to install a local development server on your computer. If you do not feel comfort-
able doing this, you can skip the remainder of this section and trust me when I say the subtitles will work. Figure
11-9 shows how the page looks when subtitles are enabled.
Figure 11-9 The About page with video subtitles.
Browser support for the <track> element is still lacking a bit, so I recommend that you test your About page in
Google Chrome. To enable support for the <track> element in Chrome, type chrome://flags into the address bar
and press Enter; then enable the Enable <track> Element option.
At the time of this writing, the <track> element still does not work unless the website is on a web server. So far in
this topic, you have been accessing the web pages directly from your hard drive using the file:// protocol. (Take
Search WWH ::




Custom Search