Here an hint to the developers to solve the bug : I've noticed Totem,
which is installed by default with all Ubuntu installations, is able to
play MIDI files. Totem is actually used by the Gecko plugin to play WAV
files, and it works fine for that purpose. Gnome-MPLayer is *unable* to
play MIDI files, so there is no reason to insist on using it. What to do
: change the Gecko plug-in which invokes Totem to play WAV, so that it
declares itself as able to handle MIDI files too. This should be simple
enough to do, one or two lines to change in that plug-in.

If you doubt it works, then simply try to embed a MIDI file in a web
page, using the EMBED HTML element, and give it the value audio/x-wav
for the type attribute. You will see FireFox invoking Totem (due to the
mime type specified in the type attribute) instead of Gnome-MPlayer, and
you hear the MIDI file played by Totem (indeed, actually if you want a
web page to play a MIDI file in Ubuntu, you have to cheat giving the
MIME type of a wave file, although it's a MIDI file).

Bonus : as Opera uses Gecko plug-ins too, this would also solve the same
malfunction which impact Opera too in the mean time :)

Have a nice time (and I am dreaming to see that very simple solution to
be applied soon).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/231421

Title:
  mplayer plugin for firefox can't play midi

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to