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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.