-
HTML and CSS (
http://www.daniweb.com/forums/forum143.html)
| vegaseat | Jan 4th, 2005 3:45 pm | |
| Play a midi file (.mid) on your browser (HTML). 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>
| All times are GMT -4. The time now is 9:11 pm. | |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC