View Full Version : hide media player in web page

08-28-2009, 12:45 PM
Hello all, am embedding windows media player on a web page to play mp3 audio files but since I want to make the file play as a background one, I want to hide the player from appearing. Anyone can help:confused:
current code:

<object height="46" id="MediaPlayer" classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Windows Media Player components..." type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">
<param name="filename" value="http://sitepath/sites/sitefolder/files/jingle.mp3" />
<param name="Showcontrols" value="true" />
<param value="transparent" name="wmode" />
<param name="autoStart" value="True" /> <embed width="320" height="100" wmode="transparent" type="application/x-mplayer2" src="http://sitepath/sites/sitefolder/files/jingle.mp3" name="MediaPlayer"></embed> </object>