본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

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

  • 9 답장
  • 115 이 문제를 만남
  • 1 보기
  • 최종 답변자: 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"!

모든 댓글 (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 수정일시

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 수정일시

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 수정일시

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 수정일시