If you're a web developer or designer familiar with CSS and JavaScript, this tightly focused introduction shows you how to add HTML5 media elements to your web pages, and how to provide custom controls for letting web visitors interact with the content.
You'll also learn how to provide subtitles and captions, using file formats that work in browsersnow. This book includes code samples and downloadable examples to help you take full advantage of audio and video in your web pages.
- Ensure your audio or video works in all browsers that support HTML5 media elements
- Learn about widely supported media file codecs and containers
- Customize the appearance of media elements with CSS
- Build your own applications to work with and control media elements
- Apply video subtitles and closed captioning with SRT and WebVTT
- Use SVG filters with HTML5, and play videos in your Canvas applications
- Explore upcoming features, including support for multiple tracks and synchronized playback
Shelley Powers has been working with and writing about web technologies--from the first release of JavaScript to the latest graphics and design tools--for more than 15 years. Her recent O'Reilly books have covered the semantic web, Ajax, JavaScript, and web graphics. She's an avid amateur photographer and web development aficionado.
- Preface
- Chapter 1: HTML5 Audio and Video Elements: By-Default
- Chapter : Customizing Media Elements
- Chapter : Media Elements, Multiple Tracks, and Accessibility
- Chapter 4: Advanced Media Element Scripting
- HTML Media Frameworks and Tools
- Colophon
Preface;About this Book;Conventions Used in This Book;Using Code Examples;Safari? Books Online;How to Contact Us;Acknowledgments;Chapter 1: HTML5 Audio and lƒe