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

Inserting and Playing Media

Sound File Parameters:

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

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

controls=console/smallconsole/true/false
visible controller

hidden=true/false
shows or hides controller

volume=0-100
system volume used. 100 is quietest.

loop=true/false/n
can loop or not or give a number of times

height=60 or 15 for small console
size of controller

width=144
size of controller

align=left/right/top/bottom
aligns controller on page

Hspace=n
number number space around controller

Vspace=n
number for space around controller

type="MimeType"
use for setting mime type of a plug-in.

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


controller example>>>

<html>
<head>
<title>Birthday</title>
</head>
<body>
This page has an embedded sound file with a controller.<BR>
<embed src="lbd.mid" height="60" width="144" controls="CONSOLE" autostart="FALSE" loop="FALSE">
</embed>
</body>
</html>