sorry if this was discussed before. but i have to ask this question again.

I have a windows media player on my site. It's working fine with IE but not in firefox. I used javascript to play a video when the image is clicked. here is my code. if the settings for autostart is true, it works fine. i tried setting the autostart to true if the browser is firefox but its not working also. im getting an error document.getElementById("player").controls is undefined

function change(){

<table border="0" cellspacing="0" cellpadding="0"><tr>
<td><a onClick="change()" onMouseOver="'hand'"><img src="imgs-ppv/purchase1.jpg" width="83" height="22" border="0" /></a></td>

<OBJECT id="player" style="WIDTH: 500px; HEIGHT: 363px" type="application/x-oleobject"
height="363" width="500" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" VIEWASTEXT>
<PARAM NAME="rate" VALUE="1">
<PARAM NAME="balance" VALUE="0">
<PARAM NAME="currentPosition" VALUE="0">
<PARAM NAME="defaultFrame" VALUE="">
<PARAM NAME="playCount" VALUE="1">
<PARAM NAME="autoStart" VALUE="0">
<PARAM NAME="currentMarker" VALUE="0">
<PARAM NAME="invokeURLs" VALUE="-1">
<PARAM NAME="volume" VALUE="100">
<PARAM NAME="mute" VALUE="0">
<PARAM NAME="uiMode" VALUE="full">
<PARAM NAME="stretchToFit" VALUE="0">
<PARAM NAME="windowlessVideo" VALUE="0">
<PARAM NAME="enabled" VALUE="-1">
<PARAM NAME="enableContextMenu" VALUE="-1">
<PARAM NAME="fullScreen" VALUE="0">
<PARAM NAME="enableErrorDialogs" VALUE="0">
<embed type="application/x-mplayer2" name="player" width='500' height='363'
controller="true" displaysize="4" autostart="0" showstatusbar='1' playeveryframe="false"

*it won't let me post the pluginspage website.