Webpage player Windows Media Player webpage player parameter description

Source: Internet
Author: User
HTML code <Table width = "100%" border = "0" cellspacing = "0" cellpadding = "0"> <br/> <tr> <br/> <TD> <br/> <B> On-demand online music </B> </TD> <br/> </tr> <br/> </table> <br/> <br /> <Table align = center style = "Font: 9pt "> <br/> <tr> <br/> <TD> <object classid =" CLSID: 22d6f312-b0f6-11d0-94ab-0080c74c7e95 "id =" mediaplayer1 "width =" 286 "Height =" 225 "> <br/> <Param name =" audiostream "value ="-1 "> <br/> <Param name = "autosize" value = "-1"> <br/> <! -- Whether to automatically adjust the playback size --> <br/> <Param name = "autostart" value = "-1"> <br/> <! -- Automatic playback? --> <br/> <Param name = "animationatstart" value = "-1"> <br/> <Param name = "allowscan" value = "-1 "> <br/> <Param name =" allowchangedisplaysize "value ="-1 "> <br/> <Param name =" autorewind "value =" 0 "> <br/> <Param name = "balance" value = "0"> <br/> <! -- Left-right channel balance, left-9640, the rightmost 9640 --> <br/> <Param name = "baseurl" value> <br/> <Param name = "bufferingtime" value = "15"> <br/> <! -- Buffer time --> <br/> <Param name = "captioningid" value> <br/> <Param name = "clicktoplay" value = "-1"> <br/> <Param name = "cursortype" value = "0"> <br/> <Param name = "currentposition" value = "0"> <br/> <! -- The current playback progress-1 indicates that the playback progress remains unchanged. 0 indicates that the start unit is seconds. For example, 10 indicates that the playback starts from 10th seconds, the value must be-1.0 or greater than or equal to 0 --> <br/> <Param name = "currentmarker" value = "0"> <br/> <Param name = "defaultframe" Value> <br/> <Param name = "displaybackcolor" value = "0"> <br/> <Param name = "displayforecolor" value = "16777215"> <br/> <param name = "displaymode" value = "0"> <br/> <Param name = "displaysize" value = "0"> <br/> <! -- Video 1-50%, 0-100%, 2-200%, 3-full screen, other values for 0 processing, the decimal number is rounded to the nearest integer and then processed by the forward --> <br/> <Param name = "enabled" value = "-1"> <br/> <Param name = "enablecontextmenu" value = "-1"> <br/> <! -Right-click menu control or not --> <br/> <Param name = "enablepositioncontrols" value = "-1"> <br/> <Param name = "enablefullscreencontrols" value = "-1"> <br/> <Param name = "enabletracker" value = "-1"> <br/> <! -- Whether to pull the playback progress bar to any place --> <br/> <Param name = "FILENAME" value = "<a href =" http: // 211.94.206.72/BBS/uploadfile/2006-4/20064302174313920. MP3 "target =" _ blank "> http: // 211.94.206.72/BBS/uploadfile/2006-4/20064302174313920. MP3 </a> "valuetype =" Ref "> <br/> <Param name =" invokeurls "value ="-1 "> <br/> <Param name =" Language "value ="-1 "> <br/> <Param name =" mute "value =" 0 "> <br/> <! -- Mute? --> <br/> <Param name = "playcount" value = "10"> <br/> <! -- Repeated playback times, 0 is always repeated --> <br/> <Param name = "previewmode" value = "-1"> <br/> <Param name = "rate" value = "1"> <br/> <! -- Playback speed: 1.0-2.0 times --> <br/> <Param name = "samilang" value> <br/> <Param name = "samistyle" value> <br /> <Param name = "samifilename" value> <br/> <! -- Select simultaneous playback (companion sound) <br/> <Param name = "selectionstart" value = "-1"> <br/> <Param name = "selectionend" value = "-1"> <br/> <Param name = "sendopenstatechangeevents" value = "-1"> <br/> <Param name = "sendwarningevents" value = "-1"> <br/> <Param name = "senderrorevents" value = "-1"> <br/> <Param name = "sendkeyboardevents" value = "0"> <br/> <Param name =" sendmouseclickevents "value =" 0 "> <br/> <Param name =" sendmousemoveevents" Value = "0"> <br/> <Param name = "sendplaystatechangeevents" value = "-1"> <br/> <Param name = "showcaptioning" value = "0"> <br/> <! -- Whether to display subtitles. It is a piece of black and there will be a large piece of black below, generally, it is not displayed. --> <br/> <Param name = "showcontrols" value = "-1"> <br/> <! -- Display control, such as play, stop, pause --> <br/> <Param name = "showaudiocontrols" value = "-1"> <br/> <! -- Display volume control --> <br/> <Param name = "showdisplay" value = "0"> <br/> <! -- Display program information, such as copyright --> <br/> <Param name = "showgotobar" value = "0"> <br/> <! -- A box with the following arrows --> <br/> <Param name = "showpositioncontrols" value = "-1"> <br/> <! -- Whether to display forward, backward, and list, if the display is usually gray, it cannot be controlled --> <br/> <Param name = "showstatusbar" value = "-1"> <br/> <! -- Current playback information, indicating whether the video is being played, and total playback time and current playback time --> <br/> <Param name = "showtracker" value = "-1"> <br/> <! -- Whether to display the current playback trace, that is, the current playback progress bar --> <br/> <Param name = "transparentatstart" value = "-1"> <br/> <Param name = "videoborderwidth" value = "0 "> <br/> <! -- The width of the display part. If the value is smaller than the video width, the minimum value is the video width, or the video width is increased to the specified value and the height is automatically increased. this change only changes the size of the black box around the video, without changing the video size --> <br/> <Param name = "videobordercolor" value = "0"> <br/> <! -- Display the color of the black box, which is an RGB value, for example, FFFF00 is yellow --> <br/> <Param name = "videoborder3d" value = "0"> <br/> <Param name = "volume" value = "0"> <br/> <! -- Volume size. A negative value indicates the impairment of the current volume. The value automatically takes the absolute value. The maximum value is 0 and the minimum value is-9640, maximum 0 --> <br/> <Param name = "windowlessvideo" value = "0"> <br/> <! -- If it is 0, full screen is allowed, otherwise it can only be viewed in the window --> <br/> </Object> <br/> <span style = "cursor: hand "onclick =" alert (document. mediaplayer1.filename ); "> view the current task </span> <br/> <B> MP3 VOD </B> <br/> <span style = "cursor: hand "onclick =" document. mediaplayer1.filename = '<a href = "http: // 211.94.206.72/BBS/uploadfile/2006-4/20064302174313920. MP3 "target =" _ blank "> http: // 211.94.206.72/BBS/uploadfile/2006-4/20064302174313920. MP3 </A> '; "> Jay Chou-nightstand </span> <br/> <B> playback speed adjustment </B> <br/> <SCRIPT> <br/> var mediarate = document. mediaplayer1.rate; <br/> var mediavolume = document. mediaplayer1.volume; <br/> var mediacurrentposition = document. mediaplayer1.currentposition; <br/> function setrate (Num) <br/>{< br/> mediarate = num; <br/> document. mediaplayer1.rate = num; <br/>}< br/> function addcurrentposition (Num) <br/>{< br/> mediacurrentposition = Document. mediaplayer1.currentposition; <br/> mediacurrentposition + = num; <br/> If (mediacurrentposition <0) mediacurrentposition = 0; <br/> document. mediaplayer1.currentposition = mediacurrentposition; <br/>}< br/> function addvolume (Num) <br/>{< br/> mediavolume = document. mediaplayer1.volume; <br/> If (Num> 0 & mediavolume <-1) <br/>{< br/> mediavolume + = num; <br/> If (mediavolume>-1) mediavolume =-1; <br/> document. med Iaplayer1.volume = mediavolume; <br/>}< br/> else <br/>{< br/> If (Num <0 & mediavolume>-9999) <br/> {mediavolume + = num; <br/> If (mediavolume <-9999) mediavolume =-9999; <br/> document. mediaplayer1.volume = mediavolume; <br/>}< br/> function addrate (Num) <br/>{< br/> mediarate = document. mediaplayer1.rate; <br/> If (Num> 0 & mediarate <12.0) <br/> {<br/> mediarate + = num; <br/> // If (mediarate> 2.0) mediara Te = 2.0; <br/> document. mediaplayer1.rate = mediarate; <br/>}< br/> else <br/>{< br/> If (Num <0 & mediarate> 0.1) <br/> {mediarate + = num; <br/> If (mediarate <0.1) mediarate = 0.1; <br/> document. mediaplayer1.rate = mediarate; <br/>}< br/> function exchangevalue (OBJ) <br/>{< br/> If (OBJ = "0") <br/>{< br/> OBJ = "-1 "; <br/>}< br/> else <br/>{< br/> OBJ = "0"; <br/>}< br/> return OBJ; <br/>}< br/> </SCRIPT> <br /> <! -- Normal speed: 1.0 <br/> slow speed: 0.0 <value <1.0 <br/> fast speed: 1.0 <value <2.0 <br/> --> <br/> <span style = "cursor: hand "onclick =" setrate (1.2); "> fast </span> <span style =" cursor: Hand "onclick =" addrate (0.1 ); "> acceleration </span> <br/> <span style =" cursor: Hand "onclick =" addrate (-0.1 ); "> deceleration </span> <span style =" cursor: Hand "onclick =" setrate (0.8 ); "> slow </span> <br/> <span style =" cursor: Hand "onclick =" setrate (1 ); "> normal </span> <span style =" cursor: Hand "onclick =" alert (mediarate ); "> viewing speed </span> <br/> <B> playback sound adjustment </B> <span style =" cursor: hand "onclick =" document. mediaplayer1.mute = exchangevalue (document. mediaplayer1.mute); "> mute/cancel </span> <br/> <span style =" cursor: Hand "onclick =" alert (document. mediaplayer1.mute); "> View </span> <br/> <span style =" cursor: Hand "onclick =" document. mediaplayer1.volume =-1 "> max </span> <br/> <span style =" cursor: Hand "onclick =" document. mediaplayer1.volume =-9999 "> Minimum </span> <br/> <span style =" cursor: Hand "onclick =" document. mediaplayer1.volume =-180 "> default </span> <br/> <span style =" cursor: Hand "onclick =" document. mediaplayer1.volume =-259 "> medium and large </span> <br/> <span style =" cursor: Hand "onclick =" document. mediaplayer1.volume =-399 "> moderate </span> <br/> <span style =" cursor: Hand "onclick =" document. mediaplayer1.volume =-999 "> medium and small </span> <br/> <span style =" cursor: Hand "onclick =" document. mediaplayer1.volume =-1599 "> small </span> <br/> <span style =" cursor: Hand "onclick =" addvolume (100 ); "> increase the volume </span> <span style =" cursor: Hand "onclick =" addvolume (-100 ); "> reduce volume </span> <br/> <span style =" cursor: Hand "onclick =" alert (document. mediaplayer1.volume ); "> View </span> <br/> <B> playback Interface Control </B> <br/> <span style =" cursor: hand "onclick =" document. mediaplayer1.showcaptioning = exchangevalue (document. mediaplayer1.showcaptioning); "> show/hide Subtitles </span> <br/> <span style =" cursor: Hand "onclick =" alert (document. mediaplayer1.showcaptioning); "> View </span> <br/> <span style =" cursor: Hand "onclick =" document. mediaplayer1.showcontrols = exchangevalue (document. mediaplayer1.showcontrols); "> display/hide playback control </span> <br/> <span style =" cursor: Hand "onclick =" alert (document. mediaplayer1.showcontrols); "> View </span> <br/> <span style =" cursor: Hand "onclick =" document. mediaplayer1.showaudiocontrols = exchangevalue (document. mediaplayer1.showaudiocontrols); "> display/hide Volume Control </span> <br/> <span style =" cursor: Hand "onclick =" alert (document. mediaplayer1.showaudiocontrols); "> View </span> <br/> <span style =" cursor: Hand "onclick =" document. mediaplayer1.showdisplay = exchangevalue (document. mediaplayer1.showdisplay); "> display/hide festival information </span> <br/> <span style =" cursor: Hand "onclick =" alert (document. mediaplayer1.showdisplay); "> View </span> <br/> <span style =" cursor: Hand "onclick =" document. mediaplayer1.showgotobar = exchangevalue (document. mediaplayer1.showgotobar); "> show/hide gotobar </span> <br/> <span style =" cursor: Hand "onclick =" alert (document. mediaplayer1.showgotobar); "> View </span> <br/> <span style =" cursor: Hand "onclick =" document. mediaplayer1.showpositioncontrols = exchangevalue (document. mediaplayer1.showpositioncontrols); "> display/hide Location Control </span> <br/> <span style =" cursor: Hand "onclick =" alert (document. mediaplayer1.showpositioncontrols); "> View </span> <br/> <span style =" cursor: Hand "onclick =" document. mediaplayer1.showstatusbar = exchangevalue (document. mediaplayer1.showstatusbar); "> display/hide playback Information </span> <br/> <span style =" cursor: Hand "onclick =" alert (document. mediaplayer1.showstatusbar); "> View </span> <br/> <span style =" cursor: Hand "onclick =" document. mediaplayer1.showtracker = exchangevalue (document. mediaplayer1.showtracker); "> display/hide playback trace entries </span> <br/> <span style =" cursor: Hand "onclick =" alert (document. mediaplayer1.showtracker); "> View </span> <br/> <B> channel switching </B> <span style =" cursor: hand "onclick =" document. mediaplayer1.balance =-9640; "> left channel </span> <br/> <span style =" cursor: Hand "onclick =" document. mediaplayer1.balance = 9640; "> right channel </span> <br/> <span style =" cursor: Hand "onclick =" document. mediaplayer1.balance = 0; "> left-right balance </span> <br/> <span style =" cursor: Hand "onclick =" alert (document. mediaplayer1.balance); "> View </span> <br/> <B> video window size </B> <span style =" cursor: hand "onclick =" document. mediaplayer1.displaysize = 1; "> 50% </span> <br/> <span style =" cursor: Hand "onclick =" document. mediaplayer1.displaysize = 0; "> 100% </span> <br/> <span style =" cursor: Hand "onclick =" document. mediaplayer1.displaysize = 2; "> 200% </span> <br/> <span style =" cursor: Hand "onclick =" document. mediaplayer1.displaysize = 3; "> full screen </span> <br/> <span style =" cursor: Hand "onclick =" alert (document. mediaplayer1.displaysize); "> View </span> <br/> <B> playback progress control </B> <span style =" cursor: hand "onclick =" document. mediaplayer1.currentposition = 0; "> back to start </span> <br/> <span style =" cursor: Hand "onclick =" addcurrentposition (60 ); "> one minute ahead </span> <br/> <span style =" cursor: Hand "onclick =" addcurrentposition (-60 ); "> one minute back </span> <br/> <span style =" cursor: Hand "onclick =" document. mediaplayer1.currentposition = 99999; "> to the end </span> <br/> <span style =" cursor: Hand "onclick =" alert (document. mediaplayer1.currentposition); "> View </span> <br/> <B> select sound companion </B> <span style =" cursor: hand "onclick =" document. mediaplayer1.samifilename = '<a href = "http:// OK .xaonline.com/down/" target = "_ blank"> http:// OK .xaonline.com/down/ </a> Chinese male artist/Jay Chou/nickname '; "> dark signs </span> <br/> <span style =" cursor: Hand "onclick =" document. mediaplayer1.samifilename = '';"> none </span> <br/> <span style = "cursor: Hand" onclick = "alert (document. mediaplayer1.samifilename); "> View </span> <br/> (note that it cannot take effect immediately and you need to play the song again after clicking it) <span style =" cursor: hand "onclick =" alert (document. mediaplayer1.maxlength); "> View </span> <br/> <script language = VBScript> <br/> for each OBJ in document. mediaplayer1.all <br/> MessageBox (OBJ) <br/> next <br/> </SCRIPT> <br/> </TD> </tr> </table> <br/>

[Ctrl + A select all tips: you can modify some code and then press run]

Silver gray panel

HTML code <Embed src = "<a href =" http: // 211.94.206.72/BBS/uploadfile/2006-4/20064302174313920. MP3 "target =" _ blank "> http: // 211.94.206.72/BBS/uploadfile/2006-4/20064302174313920. MP3 </a> "width =" 300 "Height =" 45 "loop ="-1 "autostart =" true "> </embed>

[Ctrl + A select all tips: you can modify some code and then press run]


Gray panel

HTML code <Embed style = "filter: Gray ()" src = "<a href =" http: // 211.94.206.72/BBS/uploadfile/2006-4/20064302174313920. MP3 "target =" _ blank "> http: // 211.94.206.72/BBS/uploadfile/2006-4/20064302174313920. MP3 </a> "width =" 300 "Height =" 45 "loop ="-1 "autostart =" true "> </embed>

[Ctrl + A select all tips: you can modify some code and then press run]


Brown panel

HTML code <Embed style = "filter: Invert ()" src = "<a href =" http: // 211.94.206.72/BBS/uploadfile/2006-4/20064302174313920. MP3 "target =" _ blank "> http: // 211.94.206.72/BBS/uploadfile/2006-4/20064302174313920. MP3 </a> "width = 300 Height = 45 loop ="-1 "autostart =" true "> </embed>

[Ctrl + A select all tips: you can modify some code and then press run]


Black panel

HTML code <Embed style = "filter: Xray ()" src = "<a href =" http: // 211.94.206.72/BBS/uploadfile/2006-4/20064302174313920. MP3 "target =" _ blank "> http: // 211.94.206.72/BBS/uploadfile/2006-4/20064302174313920. MP3 </a> "width = 300 Height = 45 loop ="-1 "autostart =" true "> </embed>

[Ctrl + A select all tips: you can modify some code and then press run]


(Display file playback Information)

HTML code <Embed src = "<a href =" http: // 211.94.206.72/BBS/uploadfile/2006-4/20064302174313920. MP3 "target =" _ blank "> http: // 211.94.206.72/BBS/uploadfile/2006-4/20064302174313920. MP3 </a> "width = 300 Height = 69 type = application/x-mplayer2 loop ="-1 "showcontrols =" 1 "showdisplay =" 0 "showstatusbar =" 1 "autostart = "1"> </embed>

[Ctrl + A select all tips: you can modify some code and then press run]



Gray-white panel

HTML code <Embed style = "filter: Gray ()" src = "<a href =" http: // 211.94.206.72/BBS/uploadfile/2006-4/20064302174313920. MP3 "target =" _ blank "> http: // 211.94.206.72/BBS/uploadfile/2006-4/20064302174313920. MP3 </a> "width = 300 Height = 69 type = application/x-mplayer2 loop ="-1 "showcontrols =" 1 "showdisplay =" 0 "showstatusbar =" 1 "autostart = "1"> </embed>

[Ctrl + A select all tips: you can modify some code and then press run]



(Display file Tag Information)

HTML code <Embed src = "<a href =" http: // 211.94.206.72/BBS/uploadfile/2006-4/20064302174313920. MP3 "target =" _ blank "> http: // 211.94.206.72/BBS/uploadfile/2006-4/20064302174313920. MP3 </a> "loop ="-1 "width = 300 Height = 140 balance =" true "showpositioncontrols =" true "showtracker =" true "showaudiocontrols =" true "showcontrols = "True" showstatusbar = "true" showdisplay = "true" displaysize = "0" volume = "100" autosize = "true" autostart = "true" animationatstart = "true" transparentatstart = ""True"> </embed>

[Ctrl + A select all tips: you can modify some code and then press run]



(Media Player with images)

HTML code <Param name = "volume" value = "100"> it is the option to adjust the default volume. 100 is the maximum volume! <Br/> <Object ID = "mplayer1" width = 300 Height = 300 classid = "CLSID: 6bf52a52-394a-11d3-b153-00c04f79faa6 "> <br/> <Param name =" url "value =" <a href = "http: // 211.94.206.72/BBS/uploadfile/2006-4/20064302174313920. MP3 "target =" _ blank "> http: // 211.94.206.72/BBS/uploadfile/2006-4/20064302174313920. MP3 </a> "> <br/> <Param name =" rate "value =" 1 "> <br/> <Param name =" balance "value =" 0"> <br/> <Param name = "currentposition" value = "0"> <br/> <Param name = "defaultframe" value> <br/> <Param name =" playcount "value =" 100 "> <br/> <Param name =" autostart "value =" 1 "> <br/> <Param name =" currentmarker "value =" 0 "> <br/> <Param name =" invokeurls "value =" 1 "> <br/> <Param name =" baseurl "value> <br/> <Param name = "Volume" value = "100"> <br/> <Param name = "mute" value = "0"> <br/> <Param name = "uimode" value =" full "> <br/> <Param name =" stretchtofit "value =" 0 "> <br/> <Param name =" windowlessvideo "value =" 0 "> <br/> <Param name = "enabled" value = "1"> <br/> <Param name = "enablecontextmenu" value = "1"> <br/> <Param name =" fullscreen "value =" 0 "> <br/> <Param name =" samistyle "value> <br/> <Param name =" samilang "value> <br/> <Param name = "samifilename" value> <br/> <Param name = "captioningid" value> <br/> <Param name = "enableerrordialogs" value = "0"> <br/> <Param name = "_ CX" value = "7779"> <br/> <Param name = "_ CY" value = "1693"> <br/> </Object> <br/>

[Ctrl + A select all tips: you can modify some code and then press run]


 
 

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.