O'Reilly logo

Pro HTML5 with Visual Studio 2012 by Mark Collins

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 8

image

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. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required