How can I add sound to a web site . I don't want to show .swf player in the page .music should play in the background
A:
You can use the <audio>
tag, but check if that is supported in all browsers you are interested in. If not, you can use an invisible swf.
But I'd recommend you not to putting background sound into the site, it tends to be really annoying.
alcuadrado
2010-07-28 03:40:08
A:
Hide the div element inside which you put the swf object, in the page. Set the display state to none instead of block. Something Like :
<div style="display:none;">
<Your swf object>
</div>
loxxy
2010-07-28 03:42:28
A:
It's old but it works.
9 Versions to play a sound on a web page
I've used version 8 "Using a Java Applet called from JavaScript" for firefox and IE8.
Francisco Campos
2010-08-12 18:44:13