Chapter 4: Creating Audio and Video Content

In This Chapter

check.png Discovering audio formats for the web

check.png Encoding audio

check.png Encoding video

check.png Audio tips and tricks

Some people think that websites are just pretty pictures and text. That’s all changed, though. You can add sound to a website without breaking a sweat. When you add sound in a web-friendly format to a website, the sound streams into the user’s browser. Video is another option for savvy web designers. If a picture is worth a thousand words, a video must be worth at least a million. Before HTML5 arrived on the scene, you had to jump through quite a few hoops to play video in an HTML document. With HTML5, though, you have to worry about only two file formats, and a wee bit of code to display video on a web page. In this chapter, we show you a thing or two about sound and video.

Note: HTML5 is not compliant with older browsers. However, we do offer a thrifty solution for incorporating good-quality video in the websites you design. After reading this chapter, you can create websites that can be seen — and heard.

Exploring Audio Formats for ...

Get Building Websites All-in-One For Dummies, 3rd Edition 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.