![]() |
Previous | Next |
Windows Media Player uses the PARAM element to define specific startup conditions for the control. The PARAM element is embedded inside the OBJECT element.
For example, if you want to define whether the autoStart property is True or not, you would embed the PARAM element inside the OBJECT element.
<OBJECT ID="Player"
CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">
<PARAM name="autoStart" value="True">
</OBJECT>
You can have as many PARAM tags in an OBJECT element as you want. PARAM has two attributes, name and value. Both attributes must be set.
The following values are supported for use with the name attribute of the PARAM element.
autoStart
balance
baseURL
captioningID
currentPosition
currrentMarker
defaultFrame
enableContextMenu
enableErrorDialogs
enabled
fullScreen
invokeURLs
mute
playCount
rate
SAMIFilename
SAMILang
SAMIStyle
uiMode
URL
volume
See the Windows Media Player Control Reference for more details about the values for each value attribute.
Previous | Next |