Home > Web Front-end > HTML Tutorial > Detailed introduction to HTML embedding WMP compatible with chrome and ie_HTML/Xhtml_Web page production

Detailed introduction to HTML embedding WMP compatible with chrome and ie_HTML/Xhtml_Web page production

WBOY
Release: 2016-05-16 16:40:48
Original
1518 people have browsed it

In fact, there are many corresponding writing methods, the more common one is object embed.
But when I was using it, under xp sp3, the embed tag was marked as x-mplayer2, but strechToFit was invalid. Very depressing~
Under win7, the embed is marked as x-mplayer2. It is useless to write it directly in the embed. You need to use js to reset it, strechToFit and uiMode.
Later I found that the chrome wmp plug-in under xp sp3 is different from the wmp plug-in under win7 - -.
In fact, a very magical reason is that the supported platform written in the officially released chrome wmp plug-in api does not include xp sp3.
In short, there are many magical bugs.
In short, the corresponding problems are solved as follows:
First of all, your computer must have windows media player
1. Enter chrome://plugins/ in the chrome browser to see what version of the wmp plug-in is inside

If that’s the case, that’s right.
If not, disable it first, and then you can download the np-mswmp.dll at http://ishare.iask.sina.com.cn/f/33394163.html?retcode=0
Then put this dll into the plugins folder under your chrome (if there is no plugins folder, just create one yourself).
Usually it’s in C:Program FilesGoogleChromeApplicationplugins~~
Then restart the browser. Check to see if it is loaded correctly.
2.html is very simple to write. Just load different html according to different browsers

Copy Code
The code is as follows:













< param name="enableContextMenu" value="0">

Error:You need Windows Media Player Plugin.



Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template