Forums
This topic is locked
Windows Media Player
Posted 31 Jul 2006 20:14:43
1
has voted
31 Jul 2006 20:14:43 Chris Trace posted:
Hey therei am trying to get a custom script to work linked to play files however this only seems to work in IE and not firefox.
<OBJECT ID="Player" height="0" width="0"
CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">
</OBJECT>
<INPUT NAME="BtnPlay" TYPE="BUTTON" class="style1" OnClick="StartMeUp()" VALUE="Play">
<INPUT NAME="BtnStop" TYPE="BUTTON" class="style1" OnClick="ShutMeDown()" VALUE="Stop">
<SCRIPT>
<!--
function StartMeUp ()
{
Player.URL = "../ephexis/trax/The_Smile_in_Her_Eyes.mp3";
}
function ShutMeDown ()
{
Player.controls.stop();
}
-->
</SCRIPT>
will this not work in FF or is there something else i have to do to make it work???
Thanks heaps