The Definitive Guide to HTML5 Video [electronic resource] /
Pfeiffer, Silvia.author.
Plugins will soon be a thing of the past. The Definitive Guide to HTML5 Video is the first authoritative book on HTML5 video, the new web standard that allows browsers to support audio and video elements natively. This makes it very easy for web developers to publish audio and video, integrating both within the general presentation of web pages. For example, media elements can be styled using CSS (style sheets), integrated into SVG (scalable vector graphics), and manipulated in a Canvas. The book offers techniques for providing accessibility to media elements, enabling consistent handling of alternative representations of media resources. The Definitive Guide to HTML5 Video dives deep into the markup that is introduced for media element support in browsers. You'll explore the default user interface offered through browsers for media elements, as well as the JavaScript API provided to control their behavior. You'll also learn how to account for H.264 and Ogg Theora codecs.
Title Page; Copyright Page; Contents at a Glance; Table of Contents; About the Author; About the Technical Reviewer; Acknowledgments; Preface; Approaching This book; Notation; Downloading the Code; Contacting the author; CHAPTER 1 Introduction; 1.1 A Bit of History; 1.2 A Common Format?; 1.3 Summary; CHAPTER 2 Audio and Video Elements; 2.1 Video and Audio Markup; 2.1.1 The Video Element; Fallback Content; @src; @autoplay; @loop; @poster; @width, @height; @controls; @preload; 2.1.2 The Audio Element; @src; @autoplay; @loop; @controls; @preload; 2.1.3 The Source Element; @src; @type; @media
2.1.4 Markup Summary2.2 Encoding Media Resources; 2.2.1 Encoding MPEG-4 H.264 Video; 2.2.2 Encoding Ogg Theora; 2.2.3 Encoding WebM; 2.2.4 Encoding MP3 and Ogg Vorbis; 2.3 Publishing; 2.3.1 Web Server and HTTP Progressive Download; 2.3.2 Streaming Using RTP/RTSP; 2.3.3 Extending HTTP Streaming; 2.4 Default User Interface; 2.4.1 Visible controls; 2.4.2 Context Menus; 2.4.3 Controls Summary; 2.5 Summary; CHAPTER 3 CSS3 Styling; 3.1 CSS Box Model and Video; 3.2 CSS Positioning and Video; 3.2.1 Inline Box Type; 3.2.2 None Box Type; 3.2.3 Block Box Type; 3.2.4 Relative Positioning Mode
3.2.5 Float Positioning Mode3.2.6 Absolute Positioning Mode; 3.2.7 Video Scaling and Alignment Within Box; 3.3 CSS Basic Properties; 3.3.1 Opacity; 3.3.2 Gradient; 3.3.3 Marquee; 3.4 CSS Transitions and Transforms; 3.4.1 Transitions; 3.4.2 2D Transforms; 3.4.3 3D Transforms; 3.4.4 Putting a Video Gallery Together; 3.5 CSS Animations; 3.6 Summary; CHAPTER 4 JavaScript API; 4.1 Content Attributes; 4.2 IDL Attributes; 4.2.1 General Features of Media Resources; 4.2.2 Playback-Related Attributes of Media Resources; 4.2.3 States of the Media Element; 4.3 Control Methods in the API; 4.4 Events
4.5 Custom Controls4.5 Summary; CHAPTER 5 HTML5 Media and SVG; 5.1 Use of SVG with ; Inline SVG; SVG for Masking; Video in SVG; Our examples; 5.2 Basic Shapes and ; Shapes as a mask; 5.3 SVG Text and ; 5.4 SVG Styling for ; SVG Play/Pause Toggle; SVG Gradients; SVG Pattern; 5.5 SVG Effects for ; SVG Clip-Path; SVG Filters; 5.6 SVG Animations and ; SVG animate; SVG Animate Color and Transform; SVG Animate Motion; 5.7 Media in SVG; Video in SVG; Masking Video in SVG; SVG Reflection; SVG Edge Detection; 5.8. Summary; CHAPTER 6 HTML5 Media and Canvas
6.1 Video in CanvasdrawImage(); Extended drawImage(); getImageData(), putImageData(); getImageData(), simple putImageData(); Scratch Canvas; 6.2 Styling; Pixel Transparency to Replace the Background; Scaling Pixel Slices for a 3D Effect; Ambient CSS Color Frame; Video as Pattern; 6.3 Compositing; Gradient Transparency Mask; Clipping a Region; 6.4 Drawing Text; 6.5 Transformations; Reflections; Spiraling Video; 6.6 Animations and Interactivity; 6.7 Summary; CHAPTER 7 HTML5 Media and Web Workers; 7.1 Using Web Workers on Video; 7.2 Motion Detection with Web Workers; Gray-Scaling
Motion Detection
Includes index.
Plugins will soon be a thing of the past. The Definitive Guide to HTML5 Video is the first authoritative book on HTML5 video, the new web standard that allows browsers to support audio and video elements natively. This makes it very easy for web developers to publish audio and video, integrating both within the general presentation of web pages. For example, media elements can be styled using CSS (style sheets), integrated into SVG (scalable vector graphics), and manipulated in a Canvas. The book offers techniques for providing accessibility to media elements, enabling consistent handling of alternative representations of media resources. The Definitive Guide to HTML5 Video dives deep into the markup that is introduced for media element support in browsers. You'll explore the default user interface offered through browsers for media elements, as well as the JavaScript API provided to control their behavior. You'll also learn how to account for H.264 and Ogg Theora codecs.
Computer programming.
Software engineering.
Web Development.
Software Engineering/Programming and Operating Systems.