Embedding MIDI in modern browsers
TOC
passport.mid¶
Since <embed>
isn’t available anymore I came up with an alternative; use JS-DOS to run DOSMIDI and Windows 3.11 / Creative MIDI player to play passport.mid. I came up with this idea because I am really fond of the idea of using asm.js
to solve real world problems. This works well but Safari doesn’t allow sound to play automatically by default.
Note: The work around requires you to click on the JS-DOS container in order to enjoy the MIDI song. If you would like to skip the DOSMIDI version, click to focus on the JS-DOS container then hit escape.