"Repost" web media Player Code explanation

Source: Internet
Author: User
Tags current time
The player on the Web page I think we all used it.
I'll just add the instructions.
I want to help you (default 0 is no,-1 or 1 is yes)

<object classid= "Clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95" id= "MediaPlayer1" width= "286" height= "225" >
<param name= "Audiostream" value= "-1" >
<param name= "AutoSize" value= "-1" >
< whether!--automatically adjusts the playback size-
<param name= "AutoStart" value= "-1" >
<!--is automatically played--
<param name= "Animationatstart" value= "-1" >
<param name= "Allowscan" value= "-1" >
<param name= "Allowchangedisplaysize" value= "-1" >
<param name= "Autorewind" value= "0" >
<param name= "Balance" value= "0" >
<!--left and right channel balance, leftmost-9640, 9640-->
<param name= "BaseURL" value>
<param name= "Bufferingtime" value= ">"
<!--buffer Time-
<param name= "Captioningid" value>
<param name= "Clicktoplay" value= "-1" >
<param name= "CursorType" value= "0" >
<param name= "currentposition" value= "0" >
<!--current playback Progress-1 is the same, 0 means that the starting unit is the second, for example, 10 means starting at 10th seconds, the value must be 1.0 or greater than or equal to 0-->
<param name= "Currentmarker" value= "0" >
<param name= "Defaultframe" value>
<param name= "Displaybackcolor" value= "0" >
<param name= "Displayforecolor" value= "16777215" >
<param name= "DisplayMode" value= "0" >
<param name= "displaysize" value= "0" >
<!--video 1-50%, 0-100%, 2-200%,3-full screen other values for 0 processing, decimals are rounded and then processed as before--
<param name= "Enabled" value= "-1" >
<param name= "Enablecontextmenu" value= "-1" >
<!-Right-click popup Menu Control--
<param name= "Enablepositioncontrols" value= "-1" >
<param name= "Enablefullscreencontrols" value= "-1" >
<param name= "Enabletracker" value= "-1" >
<!--whether to allow the playback progress bar to be pulled anywhere--
<param name= "Filename" value= "http://01.wma" valuetype= "ref" >
<!--played file address--
<param name= "Invokeurls" value= "-1" >
<param name= "Language" value= "-1" >
<param name= "Mute" value= "0" >
< is!--muted--
<param name= "Playcount" value= "ten" >
<!--repeat times, 0 is always repeated--
<param name= "PreviewMode" value= "-1" >
<param name= "Rate" value= "1" >
<!--playback rate control, 1 normal, allow decimals--
<param name= "Samistyle" value>
<!--Sami Style--
<param name= "Samilang" value>
<!--Sami language--
<param name= "Samifilename" value>
<!--subtitles id-->
<param name= "SelectionStart" value= "-1" >
<param name= "Selectionend" value= "-1" >
<param name= "sendopenstatechangeevents" value= "-1" >
<param name= "sendwarningevents" value= "-1" >
<param name= "senderrorevents" value= "-1" >
<param name= "sendkeyboardevents" value= "0" >
<param name= "sendmouseclickevents" value= "0" >
<param name= "sendmousemoveevents" value= "0" >
<param name= "sendplaystatechangeevents" value= "-1" >
<param name= "showcaptioning" value= "0" >
<!--If the caption is displayed as a piece of black, there will be a large chunk of black, not normally displayed--
<param name= "Showcontrols" value= "-1" >
<!--whether to show control, such as play, stop, pause--
<param name= "Showaudiocontrols" value= "-1" >
<!--whether to show volume control--
<param name= "Showdisplay" value= "0" >
<!--displaying program information, such as copyrights, etc.--
<param name= "Showgotobar" value= "0" >
<!--whether context menu is enabled--
<param name= "Showpositioncontrols" value= "-1" >
<!--whether to show the forward and the list, if the display is generally also gray not controllable-
<param name= "ShowStatusBar" value= "-1" >
<!--current playback information, showing whether it is playing, and the total playback time and the current time played to-
<param name= "Showtracker" value= "-1" >
<!--whether the current playback track bar is displayed, that is, the current playback progress bar--
<param name= "Transparentatstart" value= "-1" >
<param name= "videoborderwidth" value= "0" >
<!--the width of the display section, if it is smaller than the video width, the minimum is the video width, or increase to the specified value, and automatically increase the height. This change only changes the black box size of four weeks without changing the video size--
<param name= "Videobordercolor" value= "0" >
<!--Displays the color of the black box as an RGB value, such as FFFF00 yellow-to-
<param name= "Videoborder3d" value= "0" >
<param name= "Volume" value= "0" >
<!--volume, negative value is the current volume of the impairment, the value will automatically take absolute values, the maximum is 0, the minimum is -9640-->
<param name= "Windowlessvideo" value= "0" >
<!--If it is 0, you can allow fullscreen, otherwise you can only view it in the window.
</object>

The above player is the old-fashioned kind, the new player appears after MediaPlayer9.0, that is, only installed 9.0 or more than 9.0 of the player to normal use.

Here's the new player code, which is a lot simpler than it used to be:

<object id= "Player" height= "Up" width= "260" classid= "CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6" >
<param name= "AutoStart" value= "-1" >
<!--is automatically played--
<param name= "Balance" value= "0" >
<!--adjust the left and right channel balance with the old player code above--
<param name= "Enabled" value= "-1" >
<!--player can be artificially controlled--
<param name= "Enablecontextmenu" value= "-1" >
<!--whether context menu is enabled--
<param name= "url" value= "http://1.wma" >
<!--played file address--
<param name= "Playcount" value= "1" >
<!--Play Count control, integer--
<param name= "Rate" value= "1" >
<!--playback rate control, 1 for normal, allow decimal,1.0-2.0-->
<param name= "currentposition" value= "0" >
<!--control Settings: Current Location--
<param name= "Currentmarker" value= "0" >
<!--control settings: Current Tag--
<param name= "Defaultframe" value= "" >
<!--show default frames--
<param name= "Invokeurls" value= "0" >
<!--script command settings: whether to invoke url-->
<param name= "BaseURL" value= "" >
<!--script command settings: called url-->
<param name= "Stretchtofit" value= "0" >
<!--proportional Stretch--
<param name= "Volume" value= ">"
<!--default sound size 0%-100%,50 is 50%-->
<param name= "Mute" value= "0" >
< is!--muted--
<param name= "Uimode" value= "Mini" >
<!--player display mode: Full display all, Mini is the most simplified; None does not show playback control, only the video window is displayed; Invisible all does not display-
<param name= "Windowlessvideo" value= "0" >
<!--If it is 0, you can allow fullscreen, otherwise you can only view it in the window.
<param name= "fullscreen" value= "0" >
<!--start playing automatically fullscreen--
<param name= "Enableerrordialogs" value= "-1" >
<!--whether to enable error message reporting--
<param name= "Samistyle" value>
<!--Sami Style--
<param name= "Samilang" value>
<!--Sami language--
<param name= "Samifilename" value>
<!--subtitles id-->
</object>
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.