Playing Audio


         To view the accompanying video for this lesson, please visit

In this section of the course, I introduce two of the most popular additions to HTML5, the <audio> and <video> tags. In fact, they are probably going to be even more used than the <canvas> tag due to the ability to play media directly within the browser, without the need for an external plug-in such as the Flash Player.

So in this lesson I’ll show you how easy it is to add HTML5 audio to your pages, which I think you’ll find is a ...

Get HTML5: 20 Lessons to Successful Web Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.