Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Background sounds (bgsound=123.wav) won't play. Why not?

  • 2 replies
  • 42 have this problem
  • 15 views
  • Last reply by cor-el

more options

On some of the web sites that I write and host there is a background sound. The html is bgsound=filename.wav. The sounds play on IE but don't play on Firefox. Why not?

This happened

Every time Firefox opened

== always

On some of the web sites that I write and host there is a background sound. The html is bgsound=filename.wav. The sounds play on IE but don't play on Firefox. Why not? == This happened == Every time Firefox opened == always

All Replies (2)

more options

bgsound only works in IE and not in other browsers. See http://kb.mozillazine.org/Background_music_does_not_play

See also [tiki-view_forum_thread.php?forumId=1&comments_parentId=392255]

more options

Export the .wav to both .oga and .mp3 formats using Audacity, then do the code like this: <audio autoplay><source src="filename.oga"><source src="filename.mp3"><bgsound src="filename.mp3"></audio> This will play it in the latest versions of all 5 major browsers.