Background music does not play: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
(added bgmconductor info)
(developer example (object))
Line 5: Line 5:
** The [http://www.extensionsmirror.nl/index.php?showtopic=369 BGMConductor] extension will convert <tt>bgsound</tt> tags so that they work. While this extension will work in Firefox 1.5.x.x, it needs to be modified slightly before it will install. See here: [http://kb.mozillazine.org/Updating_extensions#Updating_incompatible_extensions_for_a_new_application_version Updating Incompatable Extensions]
** The [http://www.extensionsmirror.nl/index.php?showtopic=369 BGMConductor] extension will convert <tt>bgsound</tt> tags so that they work. While this extension will work in Firefox 1.5.x.x, it needs to be modified slightly before it will install. See here: [http://kb.mozillazine.org/Updating_extensions#Updating_incompatible_extensions_for_a_new_application_version Updating Incompatable Extensions]
** The [http://greasemonkey.mozdev.org/ Greasemonkey] script [http://homepage.ntlworld.com/vectorspace/greasemonkey/#mimic IE Media Mimic] also can convert <tt>bgsound</tt> tags, among other things. NOTE: At the time of writing, the author of IE Media Mimic does not yet consider it user-friendly enough for the average Firefox user - read the info on its homepage thoroughly before you consider using it.
** The [http://greasemonkey.mozdev.org/ Greasemonkey] script [http://homepage.ntlworld.com/vectorspace/greasemonkey/#mimic IE Media Mimic] also can convert <tt>bgsound</tt> tags, among other things. NOTE: At the time of writing, the author of IE Media Mimic does not yet consider it user-friendly enough for the average Firefox user - read the info on its homepage thoroughly before you consider using it.
** Developers: To make your site play background music in Firefox, use the <tt>object</tt> tag. Here is a standards-compliant, cross-browser <tt>object</tt> example:
<tt>
  &lt;object data="music.mp3" type="application/x-mplayer2" width="0" height="0"&gt;
    &lt;param name="src" value="music.mp3"&gt;
    &lt;param name="autostart" value="1"&gt;
    &lt;param name="playcount" value="infinite"&gt;
  &lt;/object&gt;
</tt>


[[Category:Issues (Firefox)]]
[[Category:Issues (Firefox)]]
[[Category:Issues (Mozilla Suite)]]
[[Category:Issues (Mozilla Suite)]]

Revision as of 16:32, 3 April 2006

This article deals with not hearing anything on sites that are supposed to have background music.

  • Background music usually needs a plugin to work. 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.
  • Some pages use the non standard bgsound element that doesn't work in Mozilla applications.
    • The BGMConductor extension will convert bgsound tags so that they work. While this extension will work in Firefox 1.5.x.x, it needs to be modified slightly before it will install. See here: Updating Incompatable Extensions
    • The Greasemonkey script IE Media Mimic also can convert bgsound tags, among other things. NOTE: At the time of writing, the author of IE Media Mimic does not yet consider it user-friendly enough for the average Firefox user - read the info on its homepage thoroughly before you consider using it.
    • Developers: To make your site play background music in Firefox, use the object tag. Here is a standards-compliant, cross-browser object example:

  <object data="music.mp3" type="application/x-mplayer2" width="0" height="0">
    <param name="src" value="music.mp3">
    <param name="autostart" value="1">
    <param name="playcount" value="infinite">
  </object>