Link to home
Start Free TrialLog in
Avatar of robin013197
robin013197

asked on

Embedding Autoloading Sound

What HTML tag can I use to embed a sound file to Autostart and be invisble, that won't start JAVA in Netscape 4.  I currently have <EMBED SRC="wolfhowl.wav" WIDTH=0 HEIGHT=0 autostart=true hidden=true> on my home page.  This works, but it causes Netscape to "Start Java" before it runs.  This causes some slower machines to crash.  Older versions (3.0+) work fine but anything new (like 4.0+) starts Java, and I don't want that to happen.  It is the "Embed" tag that does it (I think).

I need some code that will easily work for both Netscape and IE.

Thanks.
Avatar of Tuff
Tuff

Hi Robin,

Try this, it may not work in both or all browsers (someday the 2 will get their acts TOGETHER) but you can try this tag..
<BGSOUND SRC="wolfhowl.wav" autostart=true hidden=true loop="10"> on the loop you can set as many times that you like or you can put this in loop="infinite" and also try it by removing the autostart=true hidden=true , usually in IE the audio will start on it's own (in some versions)

Good Luck
Avatar of robin013197

ASKER

BGSOUND SRC tag for IE does not work with Netscape (yet).  Though IE does read the EMBED tag just fine.  Any other suggestions?
:( Nope I looked thru my HTML book from O'Reilly and that was all I could find on audio other than the embed tag and what you had for the embed tag was correct I dont know why your Java is starting when it opens other than the idea of the java script has the same code in it i,e. autostart??
ASKER CERTIFIED SOLUTION
Avatar of Michel Plungjan
Michel Plungjan
Flag of Denmark image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial