Table of Contents:
  • Media Controllers and the MediaController InterfaceMultiple Tracks and the Track List Interfaces; Audio and Video Track Collections; Multiple Text Tracks; The Track Element; Track File Formats; SRT; WebVTT; JavaScript Support for Subtitles and Captions; Captionator; Playr; The Leanback Player; Chapter 4. Advanced Media Element Scripting; Media Elements and Canvas; Playing a Video in an Canvas Element; Creating a Video Visual Filter using the Canvas Element; Media Elements and SVG; Adding an HTML5 Video to an SVG Document; Applying SVG Filters to Video Files within HTML; The Audio Data APIs
  • Video Conversion with Miro Video Converter and HandbrakeUsing a Frame Grabber; Chapter 2. Customizing Media Elements; CSS Styling; Adding a Fancy Border; Using the CSS Pseudo Classes; Applying a CSS3 Transform to a Video Element; Animating the Transforms with CSS3 Transitions; Adding an Overlay; Custom Controls with JavaScript and CSS; Creating a Basic Control; Adding CSS and Tracking Playback; Creating a Custom Progress Bar; The Custom Control and Seekability; Debugging and Discovering Browser Support; Chapter 3. Media Elements, Multiple Tracks, and Accessibility
  • Table of Contents; Preface; About this Book; Book Audience; Examples; Target Browsers; The Polyglot Question: HTML or XHTML?; Conventions Used in This Book; Using Code Examples; Safari® Books Online; How to Contact Us; Acknowledgments; Chapter 1. HTML5 Audio and Video Elements: By-Default; Adding a Media Element to a Web Page; Minimal Element Syntax; Disabled Scripting and the Magically Appearing Controls UI; Support for Multiple Media File Types; The Audio and Video File Babble and the Source Element in Detail; HTML5 Audio Codecs/Containers and Lossless versus Lossy Compression
  • WAV Audio FormatMP3; Ogg Vorbis; The AAC Codec; WebM Audio; Providing Codec information in the type attribute; HTML5 Video Element Codecs/Containers; H.264; Ogg Theora; WebM; Ensuring Complete Video Codec Support; The Media Elements in More Detail; Media Elements and Global Attributes; Media-Specific Attributes; Video-Only Attributes and Video Resolutions; Audio and Video in Mobile Devices and Media Profiles; Challenges of a Mobile Environment; Media Profiles and Codec Parameters; Converting Audio and Video Content; The Free Mp3/Wma/Ogg Converter
  • Appendix. HTML Media Frameworks and ToolsSubtitle/Caption Rendering Library; Video Players; Audio Only or Audio/Video Players; Other Libraries, Utilities, and Toys