Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ابحث في الدعم

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

Is there a way to hear the midi files when opening a html file on my computer instead of online?

  • 4 ردود
  • 3 have this problem
  • 10 views
  • آخر ردّ كتبه Francemi

more options

If I create a webpage and embed a midi file I can't hear the midi file in Firefox. If I upload that webpage to my website and view the page ONLINE, then I hear the midi file.

So is there a way to hear the midi files when I open a html file from my computer?

If I create a webpage and embed a midi file I can't hear the midi file in Firefox. If I upload that webpage to my website and view the page ONLINE, then I hear the midi file. So is there a way to hear the midi files when I open a html file from my computer?

All Replies (4)

more options

What is the link to that local file?

Is that an absolute link with the file: protocol or a relative link to the root directory or a sub directory of the main HTML page?

more options

It is like this:

<embed SRC="musique/filename.mid" hidden="true" autostart="true" loop="true">

more options

Try autostart="1" and playcount="99" (or another high number) instead of loop.

You can also add a MIME type to make Firefox use a specific player.
WMP: type="application/x-mplayer2"

more options

Thanks for answering. I tried both just now but nope, Firefox refuses to play the midi file in an offline html page.