Window Media Player Parameters

Source: Internet
Author: User
Object ID = mediaplayer type = application/X-oleobject classid = "CLSID: 6bf52a52-394a-11d3-b153-00c04f79faa6" width = "468" Height = "64" standby = "loading Windows Media Player components... "viewastext>
<Param name = "rate" value = "1">
<Param name = "balance" value = "10">
<Param name = "currentposition" value = "-1">
<Param name = "defaultframe" value>
<Param name = "playcount" value = "100">
<Param name = "autostart" value = "0">
<Param name = "currentmarker" value = "0">
<Param name = "invokeurls" value = "-1">
<Param name = "baseurl" value>
<Param name = "volume" value = "100">
<Param name = "mute" value = "0">
<Param name = "uimode" value = "full">
<Param name = "stretchtofit" value = "0">
<Param name = "windowlessvideo" value = "0">
<Param name = "enabled" value = "-1">
<Param name = "enablecontextmenu" value = "0">
<Param name = "fullscreen" value = "0">
<Param name = "samistyle" value>
<Param name = "samilang" value>
<Param name = "samifilename" value>
<Param name = "captioningid" value>
<Param name = "bufferingtime" value = "5">
<Param name = "url" value = 'HTTP: // www.tingshow.com/playtingshowcom.asp? Mid=271920,&cid=4&sid=9166&zid=20949&murl=xiena01-02.wma '>
</Object>
<! --
I remember what a friend asked. I don't know if I can solve your problem. I have found some common attributes and Methods. You can refer to them.
========= Common attributes and methods of windowsmediaplayer ==============

[Basic attributes]
URL: string can specify the media location
Enablecontextmenu: Right-click menu for displaying or not displaying the playback position
Fullscreen: Boolean full screen display
Stretchtofit: whether to stretch to the optimum size when the Boolean is not in full screen status
Umode: string player mode, full: has the following control bar; none: only the playback part has no control bar
Playstate: the current status of the Integer Control. The following are three basic statuses:
3: Playing
2: Pause
1: stopped
The onstatuschange event is triggered when the status changes.

[Controls]
You can use windowsmediaplayer. Controls to control the player and obtain related information:
Controls. Play; play
Controls. Stop; stop
Controls. Pause; pause
Controls. currentposition: Double Current playback progress
Controls. currentpositionstring: String in string time format "0: 32"

[Currentmedia]
You can use windowsmediaplayer. currentmedia to obtain information about the current media.
Currentmedia. Duration double total length
Currentmedia. durationstring Time Format String "4: 34"

[Settings]
You can use windowsmediaplayer. settings to set the player volume and channel.
Settings. Volume: integer volume (0-100)
Settings. Balance: integer audio channel, which can be used to control the stereo, left audio channel, and right audio channel.
-->
<Input type = "button" value = 'change file 'onclick = "mediaplayer. Controls. src = 'd:/XX. Mid ';">

 

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.