By adding some PARAM elements in your Windows Media Player object, you can decide the outlook and the functionality of your Windows Media Player. It enables you to specify certain player properties when the page is browsed. Below is a list of common parameters supported by Windows Media Player and later version.
- autoStart
- Default: true
- Description: Specifies or retrieves a value indicating whether the current media item begins playing automatically.
- balance
- Default: 0
- Description: Specify the current stereo balance.
- baseURL
- Default: -
- Description: Specifies the base URL used for relative path resolution with URL script commands that are embedded in media items.
- captioningID
- Default: 0
- Description: Specifies the name of the element displaying the captioning.
- currentMarker
- Default: 0
- Description: Specifies the current marker number.
- currentPosition
- Default: 0
- Description: Specifies the current position in the media item in seconds.
- defaultFrame
- Default: -
- Description: Specifies the name of the frame used to display a URL.
- enableContextMenu
- Default: true
- Description: Specifies a value indicating whether to enable the context menu, which appears when the right mouse button is clicked.
- enabled
- Default: false
- Description: Specifies whether the Windows Media Player control is enabled.
- filename
- Default: -
- Description: Specifies the name of the media item to play. You can specify a local filename or a URL.
- fullScreen
- Default: false
- Description: Specifies whether video content is played back in full-screen mode.
- InvokeURLs
- Default: true
- Description: Specifies a value indicating whether URL events should launch a Web browser.
- Mute
- Default: false
- Description: Specifies if audio is muted.
- Loop
- Default: false
- Description: Specifies if audio is played continuously.
- PlayCount
- Default: 1
- Description: Specifies the number of times a media item will play. Minimum value of one.
- Rate
- Default: 1.0
- Description: Specifies the playback rate.
0.5 equates to half the normal playback speed, 2 equates to twice.
- stretchToFit
- Default: false
- Description: Specifies whether video displayed by the control automatically sizes to fit the video window, when the video window is larger than the dimensions of the video image.
- uiMode
- Default: full
- Description: Specifies which controls are shown in the user interface. Possible values: invisible, none, mini, full.
- URL
- Default: -
- Description: Specifies the name of the media item to play. You can specify a local filename or a URL.
- volume
- Default: Last setting
- Description: Zero specifies no volume and 100 specify full volume.
- windowlessVideo
- Default: false
- Description: Specifies or retrieves a value indicating whether the Windows Media Player control renders video in windowless mode.
When windowlessVideo is set to true, the Player control renders video directly in the client area, so you can apply special effects or layer the video with text.
Supported by Windows Media Player for Windows XP or later.
0 comments:
Post a Comment