Property/Method Name: |
Note: |
[Basic attributes] |
|
URL: string; |
Specifies the media location, local address or network address |
Uimode: string; |
Player interface mode, which can be full, Mini, none, invisible |
Playstate: integer; |
Playing status, 1 = stopped, 2 = paused, 3 = playing, 6 = buffering, 9 = connecting, 10 = ready |
Enablecontextmenu: Boolean; |
Enable/disable right-click menu |
Fullscreen: Boolean; |
Whether to display in full screen |
[Controls] |
WMP. Controls // basic player control |
Controls. play; |
Play |
Controls. Pause; |
Pause |
Controls. Stop; |
Stop |
Controls. currentposition: Double; |
Current Progress |
Controls. currentpositionstring: string; |
Current progress, in string format. For example" |
Controls. fastforward; |
Fast forward |
Controls. fastreverse; |
Quick Return |
Controls. Next; |
Next song |
Controls. Previous; |
Last Song |
[Settings] |
WMP. settings // basic player settings |
Settings. Volume: integer; |
Volume, 0-100 |
Settings. autostart: Boolean; |
Automatic playback? |
Settings. Mute: Boolean; |
Mute? |
Settings. playcount: integer; |
Playback times |
[Currentmedia] |
WMP. currentmedia // current media attribute |
Currentmedia. Duration: Double; |
Total media Length |
Currentmedia. durationstring: string; |
The total length of the media, in string format. For example" |
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 |
Currentmedia. setiteminfo (const string ); |
Set media information by attribute name |
Currentmedia. Name: string; |
Same as currentmedia. getiteminfo ("title ") |
[Currentplaylist] |
WMP. currentplaylist // attributes of the current playlist |
Currentplaylist. Count: integer; |
Number of media contained in the current playlist |
Currentplaylist. item [integer]; |
Obtains or sets the media information of a specified project. Its Attributes are the same as those of WMP. currentmedia. |