Background music does not playFrom MozillaZine Knowledge Base(Redirected from Background music doesn't play)
This article explains why Firefox and Mozilla Suite users may not hear any sound on sites that are supposed to include background music and offers some possible solutions. [edit] Nonstandard codingSome web pages use the nonstandard bgsound element that doesn't work in Mozilla browsers. To work around this problem:
[edit] PluginsBackground music usually needs a plugin to work in Mozilla browsers. The Windows Media Player plugin will only play Microsoft’s proprietary audio formats and so will not play Wave and Midi files. (Internet Explorer does not use the Windows Media Player plugin; instead it uses an ActiveX control which provides much more functionality than the plugin.) For Mozilla Suite and Firefox users, Quicktime is often the required plugin. Make sure you have Quicktime installed and that the Quicktime browser settings are configured to enable the plugin for the type of media the page uses. Webpage authors: To make your site play background music in Mozilla applications using the Windows Media Player plugin, add (MIME) type "application/x-mplayer2", set height and width to "0" to hide it, and set the "autostart" value to "1" (explanation). Here is a standards-compliant, cross-browser object example: <object data="music.mp3" type="application/x-mplayer2" width="0" height="0"> <param name="filename" value="music.mp3"> <param name="autostart" value="1"> <param name="playcount" value="true"> </object> This will be hidden, play automatically and loop forever. [edit] See also |
|