Click to See Complete Forum and Search --> : embedding mp3


redpi
05-09-2003, 06:23 AM
I would like to be able to play an mp3 file in the background when somebody visits a page. When i use

<embed autostart="True" hidden="True" loop="true" src="file.mp3">

this works fine in internet explorer. However, if i visit this page with opera, nothing happens, and when i use mozilla, the browser asks me if i would like to open this file in winamp. Is there a way to make this work for every browser on every platform?

khalidali63
05-09-2003, 08:10 AM
I am not a user of opera,but it could be because of this.
embed is not part of html specifications,however,IE and NS has a continous support for this tag.
Your best bet would be to use the
<object/>
tag.