Embedding a sound file

Embedding 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.

To embed an audio file:

  1. 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 bar, click the Media button and select the plug-in icon.
    • Select Insert > Media > Plugin.

    For more information about the Plugin object, see Inserting Netscape Navigator plug-in content.

  2. In the Property inspector, click the folder icon to browse for the audio file, or type the file’s path and name in the Link text box.
  3. Enter the width and height by entering the values in the appropriate text boxes 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.

Getting Started with Dreamweaver
Dreamweaver Basics
Working with Dreamweaver Sites
Laying Out Pages
Adding Content to Pages
Inserting and Formatting Text
Adding Audio, Video, and Interactive Elements
Working with Page Code
Preparing to Build Dynamic Sites
Making Pages Dynamic
Developing Applications Rapidly