This works for me when I use it, it is also exampled on W3Schools.
Also this may work.. but only worked sometimes for me. For more information on it look up "The Object Element" on W3Schools.
<embed src = "Media/08. Nothing Else Matters.mp3" autostart = "true" hidden="false" align="center" />
These both have different information filled out in them, but I used them for 2 different projects.
<object id="SNDTIGER" width="0" height="0" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" type="application/x-oleobject">
<param name="FileName" value="sounds/tiger.mp3">
<param name="autostart" value="0">
<param name="showcontrols" value="false">
<param name="looping" value="true">
I also recommend seeing if she will agree with showing it on the page, if she wants it to play all the time (and won't budge). Then the user can choose whether they actually want it playing at all.. nothing worse than music that you can't stop.
You are a far behind for being the XHTML/HTML Guru of 2007. HTML 5 has been out for quite a while now and the <embed> tag along with it. It worked in IE 6 and such, so I don't know why you wouldn't know of it...
Originally Posted by AutisticCuckoo