Precautions for Embedded Windows Media Player Code

Source: Internet
Author: User

Here is the WMP version classid, And the ID becomes CLSID after wmp7:6bf52a52-394a-11d3-b153-00c04f79faa6, The previous 6.4 is CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95But the previous version is still usable, but the new functions are useless.

The following figure shows the specific version number. You can compare it with your current version number.

Version Windows Media Player (WMP)
release
5.1.51.421 WMP 5.2 Beta
5.1.52.701 WMP 5.2
6.02.902 WMP 6.0
6.1.5.130 WMP 6.0 Internet Explorer 5 RC0 beta
6.1.7.217 WMP 6.0
6.2.5.410 WMP 6.2 beta
6.4.5.809 WMP 6.4
6.4.6. * WMP 6.4 for Windows 2000 Beta
6.4.7.1028 WMP 6.4, with multi-Bit Rate (MBR) Update for Internet Explorer
6.4.7.1112 WMP 6.4, MBR Update (minor update of error messages based on 6.4.7.1028)
6.4.9. * WMP 6.4, used only for Windows 2000
7.0.0.1954 WMP 7
7.0.0.1958 WMP 7 update
7.0.0.1956 WMP 7, updated and installed the Program
7.0.0.1440 WMP 7 for Windows Millennium Edition (me)
7.01.00.3055 WMP 7.1
8.00.00.4477 WMP for Windows XP
9.00.00.2980 WMP 9 series, for Windows XP, Windows 98 Second edition, Windows ME, and Windows 2000
9.00.00.2991 WMP 9 series, for Windows Server 2003
10.00.00.3646 WMP 10

Bytes ---------------------------------------------------------------------------------------------------------------

The official insertion method is really simple, and I want to get rid of them,

<Object ID = "Player"
Classid = "CLSID: 6bf52a52-394a-11d3-b153-00c04f79faa6">
<Param name = "autostart" value = "true">
</Object>
The following figure shows the availability of specific parameters in different browsers. This stuff is so useful. Many parameters are very useful. I 've been testing it. Let's take a look at this list, it turns out that people don't support it at all, dizzy...

Param name Internet Explorer Firefox with MIME type application/X-MS-WMP Firefox with any other MIME type
Autostart Yes Yes Yes
Balance Yes Yes Yes
Baseurl Yes Yes Yes
Captioningid Yes Yes Yes
Currentmarker Yes Yes Yes
Currentposition Yes Yes Yes
Defaframe Frame Yes No No
Enablecontextmenu Yes Yes Yes
Enabled Yes Yes Yes
Enableerrordialogs Yes Yes No
Filename No Yes Yes
Fullscreen Yes No No
Invokeurls Yes No No
Mute Yes Yes Yes
Playcount Yes Yes No
Rate Yes Yes Yes
Samifilename Yes Yes Yes
Samilang Yes Yes Yes
Samistyle Yes Yes Yes
SRC No Yes Yes
Stretchtofit Yes Yes No
URL Yes Yes Yes
Volume Yes Yes Yes
Windowlessvideo Yes Yes Yes

Default Value of the parameter:

Parameter Default Description
Audiostream True
Autosize True
Autostart True Sets if the player shocould start automatically
Animationatstart True Sets if an animation shocould show while the file Loads
Allowscan True
Allowchangedisplaysize True
Autorewind False
Balance False
Baseurl
Bufferingtime 5
Captioningid
Clicktoplay True Sets if the player shocould start when the user clicks in the play area
Cursortype False
Currentposition True
Currentmarker False
Defaframe Frame
Displaybackcolor False
Displayforecolor 16777215
Displaymode False
Displaysize False
Enabled True
Enablecontextmenu True
Enablepositioncontrols True
Enablefullscreencontrols False
Enabletracker True
Filename URL The URL of the file to play
Invokeurls True
Language True
Mute False
Playcount 1
Previewmode False
Rate 1
Samilang
Samistyle
Samifilename
Selectionstart True
Selectionend True
Sendopenstatechangeevents True
Sendwarningevents True
Senderrorevents True
Sendkeyboardevents False
Sendmouseclickevents False
Sendmousemoveevents False
Sendplaystatechangeevents True
Showcaptioning False
Showcontrols True Sets if the player controls shocould show
Showaudiocontrols True Sets if the audio controls shold show
Showdisplay False Sets if the display shocould show
Showgotobar False Sets if the gotobar shocould show
Showpositioncontrols True
Showstatusbar False
Showtracker True
Transparantatstart False
Videoborderwidth False
Videobordercolor False
Videoborder3d False
Volume -200
Windowlessvideo False

Maybe what you want to know most is how to use a program (I prefer to use JS) to control the playback, stop, and fast forward of WMP. Let's take a look at this. refer. (English)

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.