Use the Window Media Player web Player, windowplayer

Source: Internet
Author: User

Use the Window Media Player web Player, windowplayer

Recently, I was working on an IETM project. The project needs to use WebBrower to display the xml containing avi. There is always a problem with avi display, I found this code to play avi in html on the Internet. It works well on Win10. I will try it on a Win7 machine tomorrow. Windows Media Player always has many unexpected problems, which is really a headache.

Use window media play web player

We should be familiar with this video player. It is a player that comes with the window system. I hate it very much. Although it comes with the system, it is basically useless.

The following code uses the widow media play webpage player to play video formats such as wmv, mpg, mov, and avi:

<Object id = "MediaPlayer" classid = "clsid: 22D6F312-B0F6-11D0-94AB-0080C74C7E95" width = "800" height = "600" standby = "Loading Windows Media Player components... "Type =" application/x-oleobject "codebase =",4,7,1112 "> <Param name =" FileName "value =" video address "> <param name =" AutoStart "value =" true "> <param name =" ShowControls "value =" true "> <param name =" BufferingTime "value =" 2 "> <param name =" ShowStatusBar "value =" true "> <param name =" AutoSize "value =" true"> <param name = "InvokeURLs" value = "false"> <param name = "AnimationatStart" value = "1"> <param name = "TransparentatStart" value = "1"> <param name = "Loop" value = "1"> <embed type = "application/x-mplayer2" src = "video address" name = "MediaPlayer" autostart = "1" showstatusbar = "1" showdisplay = "1" showcontrols = "1" loop = "0" videoborder3d = "0" pluginspage =" "Width =" 800 "height =" 600 "> </embed> </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: 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.