Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

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

  • 2 ответа
  • 42 имеют эту проблему
  • 11 просмотров
  • Последний ответ от 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

Все ответы (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.