Built-in .wmv video object does not work in firefox, works in IE

This is my code.

<table style="width:100%;height:100%;vertical-align:middle;text-align:center;"> <tr> <td><object classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" type="application/x-oleobject"> <param name="src" value="../Documents/10695.wmv"> </param><param name="ShowStatusBar" value="true"> </param><param name="stretchToFit" value="true"> </param><param name="AutoStart" value="true"> </param><embed pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" type="application/x-mplayer2" autostart="1" stetchToFit="1" NAME="MediaPlayer" ShowControls="1" src="../Documents/10695.wmv" /> </object></td> </tr> </table> 

Video works fine in IE, but doesn't even play in firefox. the control seems to be buffered but then not played back.

-thanks for head up

0
source share
1 answer

This is because Firefox does not support WMV, while IE does. To do this, you need something like the JW Player for Silverlight .

0
source

Source: https://habr.com/ru/post/1307654/


All Articles