HTML and CSS Reference
In-Depth Information
a look at the address bar in your browser; it's there.) If you want to test the subtitles, you need to install a local devel-
opment server using a tool such as XAMPP ( http://www.apachefriends.org/en/xampp.html ) . When
you have a local development server installed, make sure that your project files are in a folder accessible by the web
server (such as the xampp/htdocs folder if using XAMPP on Mac) and open the About page to test your subtitles.
Summary
Native video and audio are some of the nicest new features of HTML5. In this chapter, you learned how to convert
and embed video files into your web pages. You also learned about the available file formats and which browsers
support them.
You put your JavaScript skills to the test in this chapter, creating custom controls for controlling the playback of the
video you embedded on the About page of Joe's Pizza Co.'s website—learning all about the HTMLMediaElement
interface in the process.
Finally, you took steps to make your video more accessible by adding subtitles using the new <track> element.
This element can help people understand the video, even if they are hearing impaired or do not speak the language
you are using for your website.
In Chapter 12, you learn how to store data on a user's computer by using the new client-side storage APIs introduced
in HTML5.
Search WWH ::




Custom Search