| | |
Play a midi file (.mid) on your browser (HTML).
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
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>
Similar Threads
- Code Snippet: Play a MIDI voice (Dev C++ console program) (C++)
- Can I use MIDI to play a specific frequency (C++)
- Midi Expert - Midi file converter to .lmz (Software Development Job Offers)
- midi files won't play on my site (Web Browsers)
- Play MIDI Voice (C++)
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form google griefers hackers hitcounter hover html ie7 ie8 iframe image images internet intranet iphone javascript jpeg layout macbook maps mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization pnginie6 positioning scroll seo swf swf. textcolor timecolor titletags url urlseparatedwords visualization web webdevelopment webform website windows7



