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

Inserting and Playing Media

AVI or Windows Media Player Files:

src="" (required)
the source of the file


name=""
the name of the embedded file if you want to call it from a script

autostart=true/false
if it starts playing automatically

height=height of movie

width=width of movie

Hspace=n
number number space around movie

Vspace=n
number for space around movie

*note1: IMPORTANT
In order for the controller to appear properly, add 16 pixels to the height of a movie.


AVI

example>>>

<html><head><title>Avi video</title></head>
<body>
<EMBED SRC="nature.avi" WIDTH="85" HEIGHT="120" autostart="true">
</embed>
<br>
leaf avi video.
</body>
</html>


Windows Media Player

example>>>

<html><head><title>wmvvideo</title></head>
<body>
<EMBED SRC="WINDVID.WMV" autostart="true">
</embed>
<br>
windows media video.
</body>
</html>


MPEG

example>>>

<html><head><title>MPGvideo</title></head>
<body>
<EMBED SRC="STM_Z6a.mpg" autostart="true">
</embed>
<br>
mpg video.
</body>
</html>