Printer Friendly Version      Send     
Click to Rate and Give Feedback
MSDN
MSDN Library
 
PARAM Tags

Windows Media Player SDK banner art

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, 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.

See the Object Model Reference for Scripting for more details about the values for each name attribute.

See Also

© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker