Dreamweaver CS4 Resources
|
Embed a sound file
Embedding
audio incorporates the sound directly into the page, but the sound only
plays if visitors to your site have the appropriate plug‑in for
the chosen sound file. Embed files if you want to use the sound
as background music, or if you want to control the volume, the way
the player looks on the page, or the beginning and ending points
of the sound file.
 When incorporating sound
files in your web pages, carefully consider their appropriate use
in your web site, and how visitors to your site use these media resources.
Always provide a control to either enable or disable the playing
of the sound, in the event that visitors don’t want to listen to
the audio content.
- In Design view, place the insertion point where
you want to embed the file and do one of the following:
In the Common category of the Insert panel,
click the Media button and select the Plugin icon from
the pop-up menu.
Select Insert > Media >
Plugin.
- Browse for the audio file and click OK.
- Enter the width and height by entering the values in
the appropriate text boxes in the Property inspector or by resizing
the plug‑in placeholder in the Document window.
These values determine the size at which the audio controls
are displayed in the browser.
|