Embedded music player not working in opera and mozilla browser -
Only the embedded code works in the media. How can I enable Opera, Mozilla and other browsers to work? I'm using this code below.
& lt; HTML & gt; & Lt; HEAD & gt; & Lt; / HEAD> & Lt; Body & gt; & Lt; Object ID = "player" height = "0" width = "0" class = "CLSID: 6 bf 52 a 52-394 A-11D3-B153 -00C4F962AA 6" & gt; & Lt; / Object & gt; & Lt; INPUT TYPE = "button" NAME = "BtnPlay" VALUE = "Play" OnClick = "StartMeUp ()" & gt; & Lt; INPUT TYPE = "button" NAME = "BtnStop" VALUE = "Stop" OnClick = "Shutdown ()" & gt; & Lt; Script & gt; & Lt ;! - Function StartMeUp () {Player.URL = "laure.wma"; } Function shutdown () {Player.controls.stop (); } - & gt; & Lt; / Script & gt; & Lt; / Body & gt; & Lt; / Html & gt;
You are using the Windows Media Player ActiveX control, which only works in IE Does.
It may work on Firefox if the user is installed on the computer.
For best results, you should probably use Flash.
Comments
Post a Comment