Thursday, June 7, 2007

Audio Parameters

Here's the skinny on some of the different parameters you can employ with sound files that use the embed tag:

*

src="" (required)

The source of the file.
*

name=""

Name the embedded file if you want to call it from a script. If you use the name value, you must also include the mastersound attribute (no value).
*

controls=console|smallconsole| true|false

(Required for visible controllers.)
*

hidden=true|false

Determines whether the controller is visible.
*

autoplay=true|false

Determines whether the sound begins playing as soon as it loads.
*

volume=0%–100%

Percent of system volume used.
*

loop=true|false|n

Determines whether the sound will loop continuously. A setting of loop=3 would make the file loop three times.

No comments: