C H A P T E R  6

Audio, Video, and Slide Shows

The first part of this chapter deals with the use and misuse of audio and video in web sites. The chapter then provides instructions for embedding an audio clip into a web page and for recording a speech clip. The current file formats for video are mentioned briefly and this is followed by information about the HTML5 <video> tag, the files that it uses, and instructions for embedding video clips into an HTML5 web page.

The problem presented by the lack of support in IE 7 and IE 8 for the <video> tag are resolved by various fallback methods, fully worked examples of fallbacks are provided. These include YouTube and Vimeo because they provide a relatively easy way of adding video to a web site. You ...

Get Practical HTML5 Projects now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.