<class home>  <dreamweaver part II>   <back   next>

Inserting and Playing Media

Inserting Flash in html:

1. inside of your <body> tag, where you want the flash movie, insert both an Embed and an OBJECT tag like below.

2. Change yellow sections to fit your movie---flash (swf) file.

*note:
1. The OBJECT tag is for Explorer and the EMBED tag is for Netscape.
2. where it says "classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0
" or type="application/x-shockwave-flash" PLUGINSPAGE= "http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash", it is looking for the flash plugin and gives the URL to macromedia and the current Flash plug-in version.


example>>>

<html>
<head>
<title>YourMovie</title>
</head>
<BODY bgcolor="#CCCCCC">
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
WIDTH=550 HEIGHT=400>
<PARAM NAME=movie VALUE="yourmovie.swf"> <PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#CCCCCC>
<EMBED src="yourmovieswf" quality=high bgcolor=#CCCCCC
WIDTH=550 HEIGHT=400 type="application/x-shockwave-flash" PLUGINSPAGE=
"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>
</OBJECT>

</body>
</html>