Den här webbplatsen har begränsad funktionalitet medan vi utför underhåll för att förbättra din upplevelse. Om en artikel inte löser ditt problem och du vill ställa en fråga har vi vår gemenskap som väntar på att hjälpa dig på @FirefoxSupport på Twitter, /r/firefox på Reddit.

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

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

  • 4 svar
  • 3 har detta problem
  • 10 visningar
  • Senaste svar av 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?

Alla svar (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.