Instructions For Ubuntu Users:
A special plugin and a midi software ‘renderer’ is required for playing embedded midi file types from within the browser.
Open up a terminal, type the command below and then press enter.
sudo apt-get install timidity mozplugger
Answer yes to all questions and the installation will be complete.
Restart firefox (don’t forget to close all instances) and embedded midi files should now play when you go to this sample webpage below.
Additional tips you may require in the process:
1. Sometimes you may need to delete /home/[USERNAME]/.mozilla/pluginreg.dat and restart firefox. This is because a bug require mozplugger to be the last plugin loaded .
2. The mozilla folder is in your Home folder, but you cannot see it until you turn on ‘show hidden files’ (Ctrl+H) in the ‘view’ menu.
3. Mostly the default Evince (http://projects.gnome.org/evince/) PDF document viewer will have no problem with reading PDF files. But this plugin doesn’t cooperate very nice with Acrobat Reader in firefox, but using xpdf in firefox solves this problem. If pdf’s are not displaying anymore in your browser follow the instructions below:
sudo apt-get install xpdf
sudo gedit /etc/mozpluggerrc
Put an # before the line with acroread in it, as shown below:
text/x-pdf: pdf: PDF file # repeat swallow(documentShell) fill: acroread -geometry +9000+9000 +useFrontEndProgram "$file" repeat noisy swallow(Xpdf) fill: xpdf -g +9000+9000 "$file" repeat noisy swallow(gv) fill: gv --safer --quiet --antialias -geometry +9000+9000 "$file"