Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

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 réponses
  • 12 ont ce problème
  • 2 vues
  • Dernière réponse par 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

Modifié le par cor-el

Solution choisie

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 */
Lire cette réponse dans son contexte 👍 0

Toutes les réponses (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>

Modifié le par 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?

Modifié le par cor-el

more options

Solution choisie

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>

Modifié le par 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!