Link to home
Start Free TrialLog in
Avatar of WayneFischer
WayneFischer

asked on

Sound in Firefox

Probably a simple Question.

This works in IE but not FireFox
<bgsound src=Sound/music.mp3 loop=infinite>

I need a good cross browser sound code. I see may for Netscape and IE but what about FireFox.

Does the end user have to down load plugins for this? ( if so he will never hear my sound because he wont know the diference) so is there a sure way to make this work every time?? (netscape is not so common nowdays)
Avatar of ClickCentric
ClickCentric

There's no universal way to force sound to play on every browser.  And most people are happy about this.  You can use tricks to 'suggest' that browsers play sound, but no way to enforce it.
Avatar of WayneFischer

ASKER

Is there any code specific to FireFox Like <bgsound src=Sound/music.mp3 loop=infinite>? FireFox is what will be used the most on my program. ( or is it totaly plugin dependant) if so what is the best plugin for FireFox?
Plugin dependent.  And also OS dependent.  What works for Firefox on Windows won't necessarily work for firefox on Mac
i suggest you wrap your music on a flash file.

or you may try

http://musicplayer.sourceforge.net/
ASKER CERTIFIED SOLUTION
Avatar of Esopo
Esopo
Flag of United States of America 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