In this chapter, we will learn how to add audio to web pages using HTML5. The advantage to embedding audio using HTML5 in Dreamweaver CS5 is that it does not require any external player to work. For browsers that support the HTML5 Audio element, it is the most elegant way to present an audio online.
The Dreamweaver CS5 HTML5 Pack makes adding HTML5 audio painless, without having extensive knowledge of or worrying about HTML coding.
We will learn how to use the HTML5 audio element through several steps:
- We will make sure that we are prepared to add HTML5 audio files using Dreamweaver CS5.
- We will prepare HTML5-ready digital audio files.
- We will embed audio elements in web pages with Dreamweaver CS5.
- We will provide alternative audio for non-HTML5 compatible browsers.
- We will define additional audio parameters.
We need to perform each of these steps to make sure that the HTML5 audio that we include in our site will work for every visitor...