<Object
Classid = "CLSID: 6bf52a52-394a-11d3-b153-00c04f79faa6"
Type = "application/X-oleobject" id = "WMP" width = "0" Height = "0"
Style = "width: 0px; Height: 0px;"> </Object>
// Basic attributes
WMP. url: string; // specifies the media location, local address or network address
WMP. uimode: string; // player interface mode, which can be full, Mini, none, invisible
WMP. playstate: integer; // playback status, 1 = stopped, 2 = paused, 3 = playing, 6 = buffering, 9 = connecting, 10 = ready
WMP. enablecontextmenu: Boolean; // enable/disable the context menu
WMP. fullscreen: Boolean; // whether to display in full screen
// Player Common Control
WMP. Controls. Play; // play
WMP. Controls. Pause; // pause
WMP. Controls. Stop; // stop
WMP. Controls. currentposition: Double; // current progress
WMP. Controls. currentpositionstring: string; // current progress, string format. For example"
WMP. Controls. fastforward; // fast forward
WMP. Controls. fastreverse; // return quickly
WMP. Controls. Next; // The next song
WMP. Controls. Previous; // previous line
// Player common settings
WMP. settings. Volume: integer; // volume, 0-100
WMP. settings. autostart: Boolean; // whether to play automatically
WMP. settings. Mute: Boolean; // whether to mute
WMP. settings. playcount: integer; // Number of playbacks
WMP. settings. Balance =-100; // (left)
WMP. settings. Balance = 100; // (right)
WMP. settings. Balance = 0; // (full voice)
// Common current media attributes
WMP. currentmedia. Duration: Double; // total media Length
WMP. currentmedia. durationstring: string; // total media length, in string format. For example"
WMP. currentmedia. getiteminfo (const string); // obtain the current media information
// "Title" = media Title "Author" = artist "Copyright" = Copyright information
// "Description" = media content Description "Duration" = Duration (seconds)
// "FileSize" = file size "FileType" = file type "sourceURL" = original address
Wmp. currentMedia. setItemInfo (const string); // set media information by attribute name
Wmp. currentMedia. name: string; // same as currentMedia. getItemInfo ("Title ")
Wmp. network. bufferingProgress; // buffer percentage
Wmp. network. downloadProgress; // download percentage