In fact, there are many corresponding writing methods, and the more common one is object + embed.
But during my use, under xp sp3, the embed tag is marked x-mplayer2, but strechToFit is invalid. Very depressed ~
Under win7, embed is marked as x-mplayer2, and it is useless to write it directly in embed. You need to reset it with js, strechToFit and uiMode.
Later I found that the chrome wmp plugin under xp sp3 is different from the wmp plugin under win7 - -.
In fact, a very magical reason is that the support platforms written in the official chrome wmp plugin API do not include xp sp3.
Anyway, 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 plugin isIf this is the case, that's right.
If not, disable it first, then you can download this np-mswmp.dll at http://ishare.iask.sina.com.cn/f/33394163.html?retcode=0 to download it to np-mswmp.dll
Then put this dll into the plugins folder in your chrome (if there is no plugins folder, just create one by yourself).
Generally, it is here in C:/Program Files/Google/Chrome/Application/plugins~~
Then restart the browser. See if it loads correctly.
2. The writing method of html is very simple. Just load different html according to the browser.Copy the code