Operation Manual
244
USING DREAMWEAVER
Adding content to pages
Last updated 3/28/2012
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.
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 panel, click the Media button and select the Plugin icon from the pop-up menu.
• Select Insert > Media > Plugin.
2 Browse for the audio file and click OK.
3 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.
Adding media objects
Insert and edit media objects
In addition to SWF and FLV files, you can insert QuickTime or Shockwave movies, Java applets, ActiveX controls, or
other audio or video objects in a Dreamweaver document. If you inserted accessibility attributes with a media object,
you can set the accessibility attributes and edit those values in the HTML code.
1 Place the insertion point in the Document window where you want to insert the object.
2 Insert the object by doing one of the following:
• In the Common category of the Insert panel, click the Media button and select the icon for the type of object you
want to insert.
• Select the appropriate object from the Insert > Media submenu.
• If the object you want to insert is not a Shockwave, Applet, or ActiveX object, select Plugin from the Insert > Media
submenu.
A dialog box appears letting you select a source file and specify certain parameters for the media object.
To prevent such dialog boxes from appearing, select Edit > Preferences > General (Windows) or Dreamweaver >
Preferences > General (Macintosh) and deselect the Show Dialog When Inserting Objects option. To override
whatever preference is set for showing dialog boxes, hold down the Control (Windows) or Option (Macintosh) key while
inserting the object. (For example, to insert a placeholder for a Shockwave movie without specifying the file, hold down
Control or Option, and either click the Shockwave button in Media pop-up menu of the Common Insert panel, or select
Insert
> Media > Shockwave.)
3 Complete the Select File dialog box, and click OK.
Note: The Accessibility Attributes dialog box appears if you have chosen to show attributes when inserting media in the
Edit
> Preferences dialog box.
4 Set the accessibility attributes.
Note: You can also edit media object attributes by selecting the object and editing the HTML code in Code view, or right-
clicking (Windows) or Control-clicking (Macintosh), and selecting Edit Tag Code.
Title Enter a title for the media object.