Adding sound to a page
You can add sound to a web page. There are several different types of sound files and formats, including .wav, .midi, and .mp3. For more information, see About audio file formats. Some factors to consider before deciding on a format and method for adding sound are its purpose, your audience, file size, sound quality, and differences in browsers.
Sound files are handled very differently and inconsistently by different browsers. You may want to add a sound file to a Flash SWF file and then embed the SWF file to improve consistency.
This section contains the following topics:
- Linking to an audio file
- Embedding a sound file
Linking to an audio file
Linking to an audio file is a simple and effective way to add sound to a web page. This method of incorporating sound files lets visitors choose whether they want to listen to the file, and makes the file available to the widest audience.
To create a link to an audio file:
- Select the text or image you want to use as the link to the audio file.
- In the Property inspector, click the folder icon to browse for the audio file, or type the files path and name in the Link text box.