CHAPTER 8
Audio and Video
In this chapter, I will demonstrate the new audio and video elements introduced with HTML5. The two elements are identical in terms of their attributes and the methods and events that they support. I will spend most of the chapter discussing and demonstrating the audio element but just keep this in the back of your mind that everything I’m showing you applies to video as well. There are some exercises at the end of the chapter that will apply these same techniques to the video element so you can see this for yourself.
I will demonstrate how to add audio and video elements using the native controls provided by the browser. ...
Get Pro HTML5 with Visual Studio 2012 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.