This works for me when I use it, it is also exampled on W3Schools.
HTML Code:
<embed src = "Media/08. Nothing Else Matters.mp3" autostart = "true" hidden="false" align="center" />
Also this may work.. but only worked sometimes for me. For more information on it look up "The Object Element" on W3Schools.
HTML Code:
<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">
</object>
These both have different information filled out in them, but I used them for 2 different projects.
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.

Originally Posted by
AutisticCuckoo
There is no, and has never been any embed element in HTML (although I believe it's being introduced in HTML5).
The embed element type seems to be well supported by most browsers, but it's not HTML and won't validate.
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...
Bookmarks