为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

Music doesn't play on my seb site. <bgsound src="wishin.mid" loop="-1"> This is the html what do I have to do to make my midi player work with Firefox?

  • 11 个回答
  • 12 人有此问题
  • 10 次查看
  • 最后回复者为 oletimes

more options

With Internet Explorer I don't have this problem. Just start to use Firefox.

<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
<bgsound src="wishin.mid" loop="-1">
</head>

This is the html what do I have to do to make my midi player work with Firefox? edit

With Internet Explorer I don't have this problem. Just start to use Firefox. <pre><nowiki><html> <head> <meta http-equiv="Content-Language" content="en-us"> <meta name="GENERATOR" content="Microsoft FrontPage 4.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>New Page 1</title> <bgsound src="wishin.mid" loop="-1"> </head></nowiki></pre> This is the html what do I have to do to make my midi player work with Firefox? edit

由cor-el于修改

被采纳的解决方案

Did you upload the new code?

I still see the old code with a bgsound in the head section and the missing quote in the type and an unnecessary trailing </noembed> and the end.

<html>

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
<bgsound src="wishin.mid" loop="-1"> /* remove this line */
</head>

<body bgproperties="fixed" background="fly00691.jpeg">

<embed type=application/x-mplayer2" /* change to: <embed type="application/x-mplayer2" */
src="wishin.mid" height="0" width="0" autostart="1">
<noembed><bgsound src="wishin.mid" loop="-1"></noembed>

<div align="center">
  <center>
  <table border="9" cellpadding="2" style="border-collapse: collapse" bordercolor="#000000" width="60%" bgcolor="#FFFFFF" bordercolorlight="#000000" bordercolordark="#000000">
    <tr>

      <td width="100%">
      <p align="center"><i><b><font size="6" color="#FF0000">Clinton High School</font></b></i>
      <p align="center"><i><b><font size="6" color="#111111">Kathryn Ocker
      Potter </font></b></i></p>
      <p align="center"><i><b><font size="6" color="#FF0000"><br>
      Class of 1957</font></b></i></p>
      </td>
    </tr>

  </table>
  </center>
</div>
<p align="center"><font color="#FFFFFF">.</font></p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"><img border="0" src="57-683-01.jpg" width="377" height="472"></p>
<p align="center"> </p>
<p align="center"><img border="0" src="57-683-02.jpg" width="864" height="626"></p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>

</body>

</html>
</noembed> /* remove this line */
定位到答案原位置 👍 0

所有回复 (11)

more options

BGSOUND is IE code and doesn't work in Firefox.

For Firefox you need to use embed or object to make that MIDI file play.

<embed type="application/x-mplayer2" src="wishin.mid" height="0" width="0" autostart="1">
<noembed><bgsound src="file.mp3" loop=-1></noembed>
more options

I am not sure what "
does or where I need to add it. I am just a novice so will list the code below and maybe you can tell me what I did wrong.

<html>

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
</head>

<body bgproperties="fixed" background="fly00691.jpeg">

<embed type="application/x-mplayer2" 
src="wishin.mid" height="0" width="0" autostart="1">
<noembed> <bgsound src="wishin.mid" loop="-1"></noembed>

<div align="center">
  <center>
  <table border="9" cellpadding="2" style="border-collapse: collapse" bordercolor="#000000" width="60%" bgcolor="#FFFFFF" bordercolorlight="#000000" bordercolordark="#000000">
    <tr>
      <td width="100%">
      <p align="center"><i><b><font size="6" color="#FF0000">Clinton High School</font></b></i>
      <p align="center"><i><b><font size="6" color="#111111">Kathryn Ocker
      Potter&nbsp;</font></b></i></p>
      <p align="center"><i><b><font size="6" color="#FF0000"><br>
      Class of 1957</font></b></i></p>
      </td>
    </tr>
  </table>
  </center>
</div>
<p align="center"><font color="#FFFFFF">.</font></p>
<p align="center">&nbsp;</p>
<p align="center">&nbsp;</p>
<p align="center">&nbsp;</p>
<p align="center"><img border="0" src="57-683-01.jpg" width="377" height="472"></p>
<p align="center">&nbsp;</p>
<p align="center"><img border="0" src="57-683-02.jpg" width="864" height="626"></p>
<p align="center">&nbsp;</p>
<p align="center">&nbsp;</p>
<p align="center">&nbsp;</p>

</body>

</html>

由cor-el于修改

more options

I've edited your above posted code.

You can try that version to see if it works now.

more options

I can't hear the music. I noted someone else said the html worked for other people but he couldn't hear the music. I will give you the link to test and see if you get the music.

http://jacarst.com/chs683.htm

more options

I'm on Linux and can't test the code properly because I don't have a plugin that plays MIDI files embedded.

Sorry, there is a missing opening quote in the type attribute in the code. I've edited the code to correct that.

<embed type="application/x-mplayer2" src="wishin.mid" height="0" width="0" autostart="1">

I also see that you didn't remove bgsound in the head section, so you now have two bgsound sections and that may cause problems with IE. You need to remove the bgsound code in the head section.

<bgsound src="wishin.mid" loop="-1">
</head>
<body bgproperties="fixed" background="fly00691.jpeg">
<embed type="application/x-mplayer2" src="wishin.mid" height="0" width="0" autostart="1">
<noembed><bgsound src="wishin.mid" loop="-1"></noembed>
more options

I made changes as best I could understand them, Can I send the html code for the page again. Music still doesn't play on firefox. Listed below is the code:

<html>

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
</head>

<body bgproperties="fixed" background="fly00691.jpeg">

<embed type="application/x-mplayer2" width="0" autostart="1" src="wishin.mid" height="0">
<noembed><bgsound src="wishin.mid" loop="-1"></noembed>

<div align="center">
  <center>
  <table border="9" cellpadding="2" style="border-collapse: collapse" bordercolor="#000000" width="60%" bgcolor="#FFFFFF" bordercolorlight="#000000" bordercolordark="#000000">
    <tr>
      <td width="100%">
      <p align="center"><i><b><font size="6" color="#FF0000">Clinton High School</font></b></i>
      <p align="center"><i><b><font size="6" color="#111111">Kathryn Ocker
      Potter&nbsp;</font></b></i></p>
      <p align="center"><i><b><font size="6" color="#FF0000"><br>
      Class of 1957</font></b></i></p>
      </td>
    </tr>
  </table>
  </center>
</div>
<p align="center"><font color="#FFFFFF">.</font></p>
<p align="center">&nbsp;</p>
<p align="center">&nbsp;</p>
<p align="center">&nbsp;</p>
<p align="center"><img border="0" src="57-683-01.jpg" width="377" height="472"></p>
<p align="center">&nbsp;</p>
<p align="center"><img border="0" src="57-683-02.jpg" width="864" height="626"></p>
<p align="center">&nbsp;</p>
<p align="center">&nbsp;</p>
<p align="center">&nbsp;</p>

</body>

</html>

Where did I go wrong?

由cor-el于修改

more options

选择的解决方案

Did you upload the new code?

I still see the old code with a bgsound in the head section and the missing quote in the type and an unnecessary trailing </noembed> and the end.

<html>

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
<bgsound src="wishin.mid" loop="-1"> /* remove this line */
</head>

<body bgproperties="fixed" background="fly00691.jpeg">

<embed type=application/x-mplayer2" /* change to: <embed type="application/x-mplayer2" */
src="wishin.mid" height="0" width="0" autostart="1">
<noembed><bgsound src="wishin.mid" loop="-1"></noembed>

<div align="center">
  <center>
  <table border="9" cellpadding="2" style="border-collapse: collapse" bordercolor="#000000" width="60%" bgcolor="#FFFFFF" bordercolorlight="#000000" bordercolordark="#000000">
    <tr>

      <td width="100%">
      <p align="center"><i><b><font size="6" color="#FF0000">Clinton High School</font></b></i>
      <p align="center"><i><b><font size="6" color="#111111">Kathryn Ocker
      Potter </font></b></i></p>
      <p align="center"><i><b><font size="6" color="#FF0000"><br>
      Class of 1957</font></b></i></p>
      </td>
    </tr>

  </table>
  </center>
</div>
<p align="center"><font color="#FFFFFF">.</font></p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"><img border="0" src="57-683-01.jpg" width="377" height="472"></p>
<p align="center"> </p>
<p align="center"><img border="0" src="57-683-02.jpg" width="864" height="626"></p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>

</body>

</html>
</noembed> /* remove this line */
more options

Yes - Yes this did it. Music now working on web page. Very happy. Jim C.

more options

I am trying to setup another page to play music. I type in:

<noembed><bgsound src="town2.mid" loop="-1"></noembed> 

When I save is disappears. Listed below is the html:

<html>

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>

</noembed> /* remove this line */

</head>

<body bgproperties="fixed" background="57-613-05.jpg">

<embed type="application/x-mplayer2" src="town2.mid" height="0" width="0" auostart="1" /* typo, should be: autostart and closing ">" is missing, so you are still in the embed tag that gets closed with the noembed>*/
<noembed>      ******I type in but when saved disappears*****

Use this:
<embed type="application/x-mplayer2" src="town2.mid" height="0" width="0" autostart="1">
<noembed><bgsound src="town2.mid" loop="-1"></noembed>

<div align="center">
  <center>
  <table border="9" cellpadding="2" style="border-collapse: collapse" bordercolor="#000000" width="60%" bgcolor="#FFFFFF" bordercolorlight="#000000" bordercolordark="#000000">
    <tr>
      <td width="100%">
      <p align="center"><i><b><font size="6" color="#FF0000">Clinton High School</font></b></i>
      <p align="center"><i><b><font size="6" color="#111111">Nancy Ebensberger
      Popliger</font></b></i></p>
      <p align="center"><i><b><font size="6" color="#111111">Family Pictures</font></b></i></p>
      <p align="center"><i><b><font size="6" color="#FF0000">
      Class of 1957</font></b></i></td>
    </tr>
  </table>
  </center>
</div>
<p align="center"><font color="#FFFFFF">.</font><img border="0" src="57-613-01.jpg" width="336" height="429"></p>
<p align="center"> </p>
<p align="center"> </p>
<p> </p>
<p align="center"><img border="0" src="57-613-02.jpg" width="332" height="456"></p>
<p align="center"> </p>
<p align="center"><img border="0" src="57-613-03.jpg" width="598" height="864"></p>
<p align="center"> </p>
<p align="center"><img border="0" src="57-613-04.jpg" width="864" height="577"></p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<div align="center">
  <center>
  <table border="9" cellpadding="2" style="border-collapse: collapse" bordercolor="#000000" width="60%" bgcolor="#FFFFFF" bordercolorlight="#000000" bordercolordark="#000000">
    <tr>
      <td width="100%">
      <p align="center"><b> <font size="4">Sad To Say Nancy  Passed
      Away On<br>
      July 9, 2009<br>
      Her Husband Roger Was Nice Enough<br>
      To Send these Pictures So We Can Remember<br>
      Thank You Roger</font></b>
      </td>
    </tr>
  </table>
  </center>
</div>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>

</body>

</html>

由cor-el于修改

more options

I don't know exactly why but the music is playing again. Please close your file. Jim C. 1/11/12

more options

problem resolved! Photo bucket taught me how to make my load work ;) Thank you for your help and I'm so happy to be back on fire fox!