Advanced Dreamweaver
Audio
Audio files come in a number of different formats, including .wav (wave files), .au, and Realplayer (.ram). Whether any given browser can play the audio depends on what helper applications are available on that computer and defined in that browser.
Inserting Links to Audio
You can insert a link to an audio file very easily:
- Enter the text/image for the link
- Select the text/image
- In the 'Link' area of the properties window, enter or select the name of the audio file.
Link to Lehigh Alma Mater Audio
Embedded Audio files load a player when the page is opened. To embed an audio file,
- From the Insert menu, choose Media, then Plugin.
- Find the audio file and select it. Click Ok.
- Find an image on the page, and select it.
- In the Behaviors panel, click the plus sign

- Select Play Sound
- Use Browse to find and select the sound file.
- Click OK.
- By default, this will be set to OnLoad:
Sound as a Javascript behavior
For instance, to have a sound play when the image is clicked:

- Select the Image.
- Set the Link property to the name of the image file.
- In the Behaviors panel, click the plus sign

- Select Play Sound
- Use Browse to find and select the sound file.
- Click OK.
- By default, this will be set to OnLoad:
- To change this, click on onLoad and change it to OnClick. (If OnClick isn't available, you forgot to make the image a link.)
Next
Last updated:
March 3, 2004
For more information, contact Jennifer Heise