I have embedded media player as a javascript:

Code:
<script type="text/javascript">function play(media){document.getElementById('Player').innerHTML=
'<object id="Player" name="Player" classid="clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95" standby=""'
+'type="application/x-oleobject" width="320" height="285">'
+'<param name="enableContextMenu" value="false">'
+'<param name="animationatStart" value="false">'
+'<param name="autoStart" value="1">'
+'<param name="stretchToFit" value="true">'
+'<param name="displaysize" value="4">'
+'<param name="bufferingtime" value="3">'
+'<param name="showgotobar" value="0">'
+'<param name="enablefullscreencontrols" value="true">'
+'<param name="showstatusbar" value="true">'
+'<param name="fileName" value="'+media+'">'
+'<param name="showControls" value="false">'
+'<param name="uimode" value="none">'
+'<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" id="Player" name="Player" width="320" height="285"'
+'showdisplay="0" showgotobar="0" allowscan="-1" stretchtofit="1" enablefullscreencontrols="1" showcontrols="0" showtracker="-1" displaysize="4" bufferingtime="3" showstatusbar="1" videoborder3d="-1" enablecontextmenu="0" uimode="none" autostart="0" src="'+media+'"><\/embed><\/object>'
}
</script>
I'm wondering if anyone knows how to control the volume?
This will play <a onClick="Player.Play()"><img src="playbutton.jpg"></img></a>