| |
|
|
 |
Adding video using Dreamweaver
|
 |
Dreamweaver
MX
Control
Media In Dreamweaver MX
You can add behaviors to your
page to start and stop various media objects
in Dreamweaver MX.
|
1. Control Shockwave or Flash lets you play, stop, rewind,
or go to a frame in a Shockwave or Flash movie.
|
| Control
Shockwave or Flash
Use
the Control Shockwave or Flash action
to play, stop, rewind, or go to a frame
in a Macromedia Shockwave or Macromedia
Flash movie.
To
use the Control Shockwave or Flash
action:
1.
Choose Insert, Media, Shockwave or
Insert, Media, Flash to insert a Shockwave
or Flash movie.
2.
Choose Window, Properties and enter
a name for the movie in the upper leftmost
field (next to the shockwave or Flash
icon). You must name the movie to control
it with the Control Shockwave or Flash
action.
3.
Select the item you want to use to
control the Shockwave or Flash movie.
For example, if you have an image of
a “Play” button that will
be used to make the movie play, select
that image.
4.
Open the Behaviors panel (Window, Behaviors).
5.
Click the plus (+) button and choose
Control Shockwave or Flash from the
Actions pop-up menu. A parameters dialog
box appears.
6.
Choose a movie from the Movie pop-up
menu. Dreamweaver, will automatically
list the names of all Shockwave and
Flash movies in the current document.
It specifically lists movies with filenames
ending in .dcr, .dir, .swf, or .spl
that are in object or embed tags.)
7.
Choose to play, stop, rewind, or go
to a frame in that movie. The Play
option plays the movie starting from
the frame where the action occurs.
8.
Click okay.
9.
Check that the default event is the
one you want. If it isn’t, choose
another event from the pop-up menu.
If the events you want are not listed,
change the target browser in the Show
Events For submenu of the Events pop-up
menu.
|
|
2. Play
Sound lets you play sound; for example,
you can play a sound effect whenever the user moves
the mouse over a link.
|
| Play
Sound
Use
the Play Sound action to play sound.
For example, you might want to play
a sound effect whenever the mouse pointer
rolls over a link, or you might want
to play a music clip when the page
loads.
Note;
Browsers may require some kind of additional
audio support (such as an audio plug-in)
to play sounds. Therefore, different
browsers with different plug-ins often
play sounds differently. Its difficult
to reliably predict how visitors to
your site will experience the sounds
you provide.
To
use the Play Sound action:
1. Select on object and open the Behaviors panel (select Windows
from your menu bar, select Behaviors panel).
2. Click the plus (+) button and choose Play sound from the Actions
pop-up menu.
3. Click Browse to select a sound file, or enter the path and filename
in the Play Sound field.
4. Click Ok.
5. Check the default event is the one you want. If it isn’t,
choose another event from the pop-up menu. If the events you want
are not listed, change the target browser in the Show Events For
pop-up menu.
|
|
3. Check
Plugin lets you check to see if visitors
to your site have the required plug-in installed,
then route them to different URLS, depending on whether
they have the right plug-in. This only applies to
Netscape Navigator Plug-ins, as the Check plugin
behavior does not check for ActiveX controls.
|
To
use the Check Plugin action:
1. Select an object and open the Behaviors panel (Window, Behaviors).
2. Click the plus (+) button and check Plugin from the Actions pop-up
menu.
3. Choose plug-in from the Plugin pop-up menu, or click Enter and
type the exact name of the plug-in in the adjacent field. You
must use the exact name of the plug-in as specified in bold on the
About Plug-ins page in Navigator. (in Windows, choose Navigators Help,
About Plug-ins command; on the Macintosh, choose About Plug-in from
the Apple menu).
4. In the If found, Go To URL field, specify a URL for visitors who
have a plug-in. If you specify a remote URL, you must include the http://
prefix in the address. To make visitors with the plug-in stay on the
same page, leave this field blank.
5. In the Otherwise, Go To URL field, specify an alternative URL for
visitors who don’t have the plug-in. To make visitors without
the plug-in stay on the same page, leave this field blank.
6. Plug-in detection is not possible in Internet Explorer on the Macintosh,
and most plug-ins cannot be detected in Internet Explorer on Windows.
By default, when detection is impossible, the visitor is sent to the
URL listed in the Otherwise field. To instead send the visitor to the
first (If Found) URL, select the Always go to first URL if detection
is not a possible option. When selected, this option effectively means “assume
that the visitor has the plug-in, unless the browser explicitly indicates
that the plug-in is not present.” In general, if the plug-in
content is integral to your page, select the “Always go to first
URL if detection is not possible” option; visitors without the
plug-in will often be prompted by the browser to download the plug-in.
If the plug-in content is not essential to your page, leave this option
unselected. This option applies only to Explorer; Navigator can always
detect plug-ins.
7. Click OK.
8. Check that the default event is the one you want. If it isn’t,
choose another event from the pop-up menu. If the events you want are
not listed, change the target browser in the Show Events For pop-up
menu. |
|
| |
|
|
|
|