Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
Sets or retrieves a value indicating whether the Microsoft Windows Media Player control automatically sizes to the proportions of the original media rendered at the current display size.
Compatibility:Windows Media Player
MediaPlayer.AutoSize [ = bAutoSize ]
Parameters
Remarks
For Web page applications, the default value is true unless width and height parameters are specified at design time, in which case the default value is false.
If this property is true, the Windows Media Player control overrides width and height parameters. When a clip is loaded, the control changes its dimensions to accommodate the media stream, as specified by the DisplaySizeproperty.
If this property is false, the image is centered in the video display panel. If the dimensions of the video image are smaller than the display panel, the Windows Media Player control adds a video border around the image. If the video image is larger than the specified display panel area, the image shrinks to fit into the display panel. The Windows Media Player renders data more efficiently when it resizes to the dimensions of the source content.
See Also
DisplaySize, Customizing the User Interface