搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

  • 2 个回答
  • 42 人有此问题
  • 15 次查看
  • 最后回复者为 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.