Play a midi file (.mid) on your browser (HTML).
Please support our HTML and CSS advertiser: Programming Forums
Lots of good instrumental music out on the web in the form of midi files. You can incorporate background music as part of your web page. Here is the short code.
<HTML> <!-- Experiments with midi sound vegaseat --> <!-- embed src, hidden, autostart, loop --> <HEAD> <TITLE>Embedded MIDI</TITLE> </HEAD> <body bgcolor="#FFFF00" text="#FF66CC"> <center> <h2>This starts the midi file automatically!</h2> </center> <!-- the given midi file comes with Win XP, you may need to change this --> <!-- to something you have!!!!!!!!!! --> <!-- hide play buttons, autostart and loop once --> <EMBED SRC="C:\Windows\Media\Onestop.mid" hidden=true autostart=true loop=1> </body> </HTML>



