PARAM name | Internet Explorer | Firefox with mime type application/x-ms-wmp | Firefox with any other mime type |
autoStart | yes | yes | yes |
balance | yes | yes | yes |
baseURL | yes | yes | yes |
captioningID | yes | yes | yes |
currentMarker | yes | yes | yes |
currentPosition | yes | yes | yes |
defaultFrame | yes | no | no |
enableContextMenu | yes | yes | yes |
enabled | yes | yes | yes |
enableErrorDialogs | yes | yes | no |
fileName | no | yes | yes |
fullScreen | yes | no | no |
invokeURLs | yes | no | no |
mute | yes | yes | yes |
playCount | yes | yes | no |
rate | yes | yes | yes |
SAMIFileName | yes | yes | yes |
SAMILang | yes | yes | yes |
SAMIStyle | yes | yes | yes |
SRC | no | yes | yes |
stretchToFit | yes | yes | no |
URL | yes | yes | yes |
volume | yes | yes | yes |
windowlessVideo | yes | yes | yes |
参数的默认值:
Parameter | Default | Description |
---|---|---|
AudioStream | true | |
AutoSize | true | |
AutoStart | true | Sets if the player should start automatically |
AnimationAtStart | true | Sets if an animation should show while the file loads |
AllowScan | true | |
AllowChangeDisplaySize | true | |
AutoRewind | false | |
Balance | false | |
BaseURL | ||
BufferingTime | 5 | |
CaptioningID | ||
ClickToPlay | true | Sets if the player should start when the user clicks in the play area |
CursorType | false | |
CurrentPosition | true | |
CurrentMarker | false | |
DefaultFrame | ||
DisplayBackColor | false | |
DisplayForeColor | 16777215 | |
DisplayMode | false | |
DisplaySize | false | |
Enabled | true | |
EnableContextMenu | true | |
EnablePositionControls | true | |
EnableFullScreenControls | false | |
EnableTracker | true | |
Filename | URL | The URL of the file to play |
InvokeURLs | true | |
Language | true | |
Mute | false | |
PlayCount | 1 | |
PreviewMode | false | |
Rate | 1 | |
SAMILang | ||
SAMIStyle | ||
SAMIFileName | ||
SelectionStart | true | |
SelectionEnd | true | |
SendOpenStateChangeEvents | true | |
SendWarningEvents | true | |
SendErrorEvents | true | |
SendKeyboardEvents | false | |
SendMouseClickEvents | false | |
SendMouseMoveEvents | false | |
SendPlayStateChangeEvents | true | |
ShowCaptioning | false | |
ShowControls | true | Sets if the player controls should show |
ShowAudioControls | true | Sets if the audio controls should show |
ShowDisplay | false | Sets if the display should show |
ShowGotoBar | false | Sets if the GotoBar should show |
ShowPositionControls | true | |
ShowStatusBar | false | |
ShowTracker | true | |
TransparantAtStart | false | |
VideoBorderWidth | false | |
VideoBorderColor | false | |
VideoBorder3D | false | |
Volume | -200 | |
WindowlessVideo | false |
可能你最想知道的是怎么用程序(我偏向用JS)来控制WMP的播放、停止、快进吧,看看这里吧,http://msdn.microsoft.com/en-us/library/dd564034%28VS.85%29.aspx,有详细的说明和例子。(英文的)