O'Reilly logo

Teach Yourself Visually™ HTML5 by Mike Wooldridge

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 14

Adding Video and Audio

Do you want to add multimedia to your web pages? Adding video enables you to tell a story, feature a product, or provide interactivity to your viewers. Some concepts can be presented more effectively using moving pictures rather than static words and photos. By embedding audio, you can add background music to your pages to add ambiance.

HTML5 includes new tags for adding video and audio to your website. This chapter covers how to add multimedia with these tags, turn on player controls for audio and video, and provide alternative file formats to make the user experience as optimal as possible for all users.

image

Understanding ...

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