Background sounds (bgsound=123.wav) won't play. Why not?
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
Все ответы (2)
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]
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.