O'Reilly logo

The Truth About HTML5 by RJ Owen, Luke Stevens

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 10

image

The Truth About Audio and Video in HTML5

Both <audio> and <video> are welcome additions to the HTML spec. We don’t use proprietary tools (such as Flash) to display images, so why should we need them to play audio or video?

Don’t get me wrong: I’m not here to bash Flash. Without it we wouldn’t have YouTube, Vimeo, and the video revolution that has taken place over the past few years. And Flash still provides advanced video features (such as live streaming, full-screen playback, and DRM, as icky as DRM is) that have either no or very preliminary implementations as open standards.

Nevertheless, HTML5 <video> and <audio> have become almost ...

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