I am using embed tag to play background music on my web. It works fine on IE but on Mozilla, and Chrome it gets downloaded. What will be the work around?
My tag is
<embed
src="http://www.abc.com/xyz.mp3"
autostart="true"
loop="true"
hidden="true"/>
I tried HTML <audio> tag but page stopped responding.
Please note, my mp3 file is on some remote server, not on my websites directory.
As Aristos commented you could use a flash player as flowplayer
(http://flash.flowplayer.org/plugins/streaming/audio.html)
the Audio Tag works only on “new” browsers
If not you would have to check via javascript which browser is running and react accordingly