X
Нажмите здесь, чтобы перейти на мобильную версию сайта.

Форум поддержки

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

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

Дополнительные сведения о системе

Установленные плагины

  • -Adobe Shockwave for Director Netscape plug-in, version 11.0
  • RealJukebox Netscape Plugin
  • RealPlayer(tm) LiveConnect-Enabled Plug-In
  • 6.0.12.1483
  • The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
  • Default Plug-in
  • LabVIEW 8.5 Netscape Plug-in for Win32
  • Office Plugin for Netscape Navigator
  • LabVIEW 8.2 Netscape Plug-in for Win32
  • Shockwave Flash 9.0 r124
  • Windows Presentation Foundation (WPF) plug-in for Mozilla browsers
  • Java Plug-in 1.6.0_05 for Netscape Navigator (DLL Helper)
  • Adobe PDF Plug-In For Firefox and Netscape
  • DRM Netscape Network Object
  • Npdsplay dll
  • DRM Store Netscape Plugin

Приложение

  • User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14 (.NET CLR 3.5.30729)

Дополнительная информация

cor-el
  • Top 10 Contributor
  • Moderator
17421 решений 157393 ответов
Размещено

Полезный ответ

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]

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.

Export the .wav to both .oga and .mp3 formats using [http://audacity.sourceforge.net/download/ Audacity], then do the code like this: <code> &lt;audio autoplay&gt;&lt;source src="filename.oga"&gt;&lt;source src="filename.mp3"&gt;&lt;bgsound src="filename.mp3"&gt;&lt;/audio&gt; </code> This will play it in the latest versions of all 5 major browsers.