Synopses & Reviews
One of the most exciting and talked about aspects of the HTML5 specification is the introduction of in-browser multimedia. Websites no longer have to rely on a third-party tool such as Flash or Silverlight to play video and audio. This book is an easy, approachable guide to building native HTML5 multimedia into a website, from the simplest addition to more advanced features. It's written in a simple, straightforward style that's not too techy, yet advanced enough for the more experienced coder who just needs to get up to speed on these powerful new capabilities. The book's companion website provides all the examples in a working format for easy access and enhanced visualization for the reader.
- Using Audio: How to add audio to web documents using the HTML5 audio element.
- Using Video: How to add video to web documents using the HTML5 video element.
- Styling Media Elements with CSS: Shows how HTML5 media elements can be styled with CSS2.1 and CSS3.
- Using Video with SVG: Shows how SVG and HTML5 video can work together.
- Using Video with Canvas: Introduces the HTML5 canvas element and shows how HTML5 video and canvas can work together.
Table of Contents
1. An Introduction to HTML5
Contains a brief history of HTML5 and describes the main structural elements and how to use them.
2. HTML5 Multimedia Elements
Contains a brief history of web multimedia and introduces HTML5 native multimedia and its new elements: audio, video, source, and track.
3. Using Audio
An in-depth explanation, with examples, of how to add audio to web documents using the HTML5 audio element.
4. Using Video
An in-depth explanation, with examples, of how to add video to web documents using the HTML5 video element.
6. Styling Media Elements with CSS
A quick look at how HTML5 media elements can be styled with CSS2.1 and CSS3.
7. Transitions, Transforms, and Animation
Shows how some of the more exciting additions to CSS3: transitions, transforms, and animations, can be used with HTML5 media elements, with complete examples.
8. Multimedia and Accessibility
Discusses HTML5 media and accessibility, including the WebVTT format and track element and also how to make custom controls more keyboard accessible.
9. Using Video with Canvas
Introduces the HTML5 canvas element and uses simple examples to show how HTML5 video and canvas can work together.
10. Using Video with SVG
Introduces Scalable Vector Graphics and uses simple examples to show how SVG and HTML5 video can work together.
11. Future Features
Discusses some of the future developments that relate to HTML5 Multimedia, such as the getUserMedia API and the Audio and Stream APIs.