Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox won't play my website music and I'm tired of of trying the posted "fixes"!

  • 9 respostas
  • 115 have this problem
  • 1 view
  • Last reply by cor-el

more options

Firefox won't play my website music. Further, I'm tired of trying the "fixes" provided you have suggested! Yesterday Firefox failed to download bank statements on Adobe Reader. The bank tech said "try IE"! It worked!

Firefox is becoming frustrating to use!

If I don't get some good advice soon, Firefox is "outta here"!

Firefox won't play my website music. Further, I'm tired of trying the "fixes" provided you have suggested! Yesterday Firefox failed to download bank statements on Adobe Reader. The bank tech said "try IE"! It worked! Firefox is becoming frustrating to use! If I don't get some good advice soon, Firefox is "outta here"!

All Replies (9)

more options

Can you post a link to your website?


If you use bgsound on your website then it will only work in IE. Bgsound is not compatible with other browsers like Firefox.

See http://kb.mozillazine.org/Background_music_does_not_play

cor-el modificouno o

more options

First of all, my website use to play my background music on FireFox. Second, unless bgsound is some sort of 'techie' term unknown to me, I can only say yes, I embed background music on the website via MSFrontPage software.

My website: http://www.doclindsay.com/

Looking at my directory I find the following file extensions: wav; wma; mp3; & mid. Sorry, I can't tell you about the variety except they work!

more options

Yes, I see a bgsound tag in the head section on that website:

<bgsound src="music/06-All God's Critters Got A Place In The Choir (vocal-Tracy).wav" loop="1" />

That wont work in Firefox without an extension that converts such a tag to embed or object.

You need to use an embed or an object in the body section for IE and Firefox that creates a player with width and height set to 0 if you want to play the music in the background. It is usually better to avoid spaces in file names and use and underscore instead.

One of these should work:

<object data="music/06-All God's Critters Got A Place In The Choir (vocal-Tracy).wav" type="application/x-mplayer2" width="0" height="0">
<param name="filename" value="music/06-All God's Critters Got A Place In The Choir (vocal-Tracy).wav">
<param name="autostart" value="1">
</object>


<embed type="application/x-mplayer2" src="music/06-All God's Critters Got A Place In The Choir (vocal-Tracy).wav" height="0" width="0" autostart="1">
<noembed><bgsound src="music/06-All God's Critters Got A Place In The Choir (vocal-Tracy).wav" loop="1" /></noembed>

cor-el modificouno o

more options

Thanks for the advice! I'll give it a try and report back so that the results will be posted for future information.

more options

I tried the "fix" and was unable to accomplish the task. I resolved the issue by adding a note on my first page web site that:

"Internet Explorer plays my music"!

That should do it!

Bob L

more options

Did you try to add the above posted code to the body section?

As a test you can try this bookmarklet on the page, copy and paste the full text in the location bar. I've set a width and height so you should see a player appear at the top of the page appear.

javascript:(function(){var D=document,B=D.body,e=D.getElementsByTagName('BGSOUND'),M,i;for(i=0;E=e[i];i++){M=D.createElement('OBJECT');M.setAttribute('data',E.getAttribute('src'));M.setAttribute('type','application/x-mplayer2');M.setAttribute('height','50');M.setAttribute('width','200');B.firstChild.parentNode.insertBefore(M,B.firstChild);}})();


You can use Ctrl+A to select all the text on the page and use "View Selection Source" in the right-click context menu to see the OBJECT code at the begin of the body tag.

cor-el modificouno o

more options

I used the

code and got the media player back.  Thanks.  I am finding firefox a little unstable at the moment!

I have had problems with a slideit function which was working and has suddenly stopped. Any suggestions?

more options

Firefox and Safari will not play music that is on websites. It's a browser problem. IE plays the music just fine. I don't know about other browsers, but I will be trying some others.

I also had to put a notice on my website, if they want to hear the music, then they have to use IE. Since I'm on a Mac, I can't change to IE. Maybe one of these days, Firefox and Safari will "catch up" to IE. Until then, give it up, you're not going to get it to play.

I'm talking music that is supposed to play when the website loads the page. It's part of the HTML code and these browsers do not know how to interpret the code and allow the music to play.

more options

Can you post a link yo that website?

What kind of code do you use? If you use OBJECT without a classid then it should work with all browsers including Firefox. EMBED will also work in Firefox. If you specify a generic MIME type like application/x-mplayer2 then the file will play with WMP.

<object data="http://....." type="application/x-mplayer2" height="xxx" width="xxx">

cor-el modificouno o