How to add midi |
How to add midi |
calvin |
Sep 15 2006, 11:03 AM
Post
#1
|
Group: Members Posts: 9 Joined: 15-September 06 Member No.: 137 |
How do i add a midi file to an html document?
i tried this in notepadd ++ but it didnt turn colors like valid codes and i tried it but it did nothing |
pandy |
Sep 15 2006, 11:11 AM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Hi
You can link to a sound file the same way as you link to any file. <a href="calvin.mid">Listen to...</a> If you want it to play in the background you have to use the non standard EMBED. http://www.htmlhelp.com/faq/html/effects.html#bg-sound http://www.webreference.com/js/column20/embed.html I wouldn't bother with BGSOUND that the FAQ mentions though. The last browser that needed it was IE 2 IIRC. |
jimlongo |
Sep 15 2006, 12:13 PM
Post
#3
|
This is My Life Group: Members Posts: 1,128 Joined: 24-August 06 From: t-dot Member No.: 16 |
QUOTE That's a pretty funny page, I get a popup telling me my browsers can't play sound . . . ha ha ha imagine that. I'd stay away from those intricate javascript approaches unless you want to make work for yourself. --------- For a midifile you might consider something simple like this. Note this will not validate because embed tags uselful as they are have become politically incorrect. midi with controller midi with hidden controller Note: you'd have to test this on MS platforms. Note2: May throw off scary IE7 activeX warnings. |
pandy |
Sep 15 2006, 12:17 PM
Post
#4
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
The page itself may use JavaScript but the article is about EMBED.
|
jimlongo |
Sep 15 2006, 12:21 PM
Post
#5
|
This is My Life Group: Members Posts: 1,128 Joined: 24-August 06 From: t-dot Member No.: 16 |
I just can't take it too seriously when it gives me that warning
|
pandy |
Sep 15 2006, 03:29 PM
Post
#6
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
You just want an excuse to use more smilies, don't you?
|
jimlongo |
Sep 15 2006, 04:09 PM
Post
#7
|
This is My Life Group: Members Posts: 1,128 Joined: 24-August 06 From: t-dot Member No.: 16 |
I'm sorry pandy, I would have responded sooner, but I was busy designing my animated avatar.
Gotta go now, need to work on my karaoke eminem perfomance. |
Lo-Fi Version | Time is now: 24th April 2024 - 09:18 PM |