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

Get The Truth About HTML5 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.