Home > Message Boards > MIDI Discussion >
How to add MIDI to your webpage?
Post new topic   Reply to topic View previous topic :: View next topic
Author Message
admin
Site Admin


Joined: 04 Jul 2002
Posts: 698
Location: HamieLand

PostPosted: Wed Jul 24, 2002 7:09 pm   Post subject: How to add MIDI to your webpage? Reply with quote

I have receive question on how to add MIDI on your own webpage. Here's how:

Code:

<EMBED SRC="my_song.mid" WIDTH="142" HEIGHT="58" AUTOSTART="TRUE" REPEAT="TRUE">


This will play a MIDI in the background. It works for both Internet Explorer and Netscape Navagator.

Src: the location and the name of the MIDI file
Width and Height: the size of the control panel (play, stop... etc.)
Autostart: start playing the MIDI immediately once the song is downloaded. It can be set to either TRUE or FALSE.
Repeat: if you want the song to repeat indefinitely, set it to TURE, else set it to FALSE.
Back to top
View members profile Send private message
DarkFoxSniper



Joined: 08 Sep 2002
Posts: 5
Location: Kingwood

PostPosted: Mon Sep 09, 2002 12:30 pm   Post subject: Thanx!! Reply with quote

Thanks alot Admin icon_wink.gif I really aprricated that!
Back to top
View members profile Send private message Send email AIM Address Yahoo Messenger
DarkFoxSniper



Joined: 08 Sep 2002
Posts: 5
Location: Kingwood

PostPosted: Mon Sep 09, 2002 1:03 pm   Post subject: uhhh alittle trouble Reply with quote

icon_question.gif icon_question.gif icon_question.gif uhhh where do i put in a song can u give me an example because im learning alittle html ok thanx!!1 bye icon_biggrin.gif
Back to top
View members profile Send private message Send email AIM Address Yahoo Messenger
mike niblett



Joined: 25 Jul 2002
Posts: 10
Location: uk

PostPosted: Mon Sep 09, 2002 3:04 pm   Post subject: midi Reply with quote

erm, not too sure what you mean, but if you have website, copy and paste the instructions above and insert the title in place of "my song" this is assuming you have the midi on your own computer. if you have , copy and paste that midi in place of "my song" this should be done on the background page you would use for your text. i think this would be ok,try it and see,mike.
_________________
aftershock,the band.
Back to top
View members profile Send private message Send email Visit posters website
DarkFoxSniper



Joined: 08 Sep 2002
Posts: 5
Location: Kingwood

PostPosted: Wed Sep 11, 2002 1:36 pm   Post subject: Hey Reply with quote

That's what I meant with the my_song thing but I tried that with one but nothing I tried this<EMBED SRC="Dammit.mid" WIDTH="142" HEIGHT="58" AUTOSTART="TRUE" REPEAT="TRUE"> That song is from blink182 and nothing happens icon_question.gif Well thanx 4 that message Mike Later!!!!!!
Back to top
View members profile Send private message Send email AIM Address Yahoo Messenger
Dan Belcher



Joined: 30 Aug 2002
Posts: 1

PostPosted: Wed Oct 23, 2002 11:41 am   Post subject: Reply with quote

The midi is uploaded to the same directory as the .html file you're linking to it from, correct? If not, you have to supply the directory. For example, if your site is at www.music.com and you have the midi in the folder www.music.com/midi/, then you need to use the following:

<EMBED SRC="/midi/dammit.mid" WIDTH="142" HEIGHT="58" AUTOSTART="TRUE" REPEAT="TRUE">

That IS correct, I hope. icon_wink.gif
_________________
-Dan Belcher
Back to top
View members profile Send private message
DarkFoxSniper



Joined: 08 Sep 2002
Posts: 5
Location: Kingwood

PostPosted: Wed Oct 23, 2002 1:19 pm   Post subject: Thanks! Reply with quote

Thannx 4 the help and I do not mind 4 it late or anything thanx 4 everything! icon_lol.gif c-ya! later!
Back to top
View members profile Send private message Send email AIM Address Yahoo Messenger
admin
Site Admin


Joined: 04 Jul 2002
Posts: 698
Location: HamieLand

PostPosted: Sun Dec 15, 2002 3:43 pm   Post subject: Reply with quote

On addition to the EMBED code, the following code should also work.

Code:

<BGSOUND SRC="my_song.mid" LOOP="infinite">
Back to top
View members profile Send private message
Mattinks
Guest





PostPosted: Tue Sep 23, 2003 3:32 am   Post subject: help Reply with quote

Ok here is what i am seeing.. all you have to do is put the html code with the name of the song.. now i read that you have to have the song uploaded to the web site.. im so confused.. if you have the file on your computer do you just put the html with the song and it should work?
Back to top
arod235



Joined: 24 May 2004
Posts: 2

PostPosted: Wed Jun 16, 2004 6:13 am   Post subject: Reply with quote

that sorta confuses me too b/c i want to get a midi with songs on a website and i have it on my computer do i need to have it on another website if so (which i think for this particular website i do) where can i do it?
Back to top
View members profile Send private message Yahoo Messenger MSN Messenger
lovielover19



Joined: 18 Jun 2004
Posts: 4
Location: Phoenixville, PA

PostPosted: Sun Jun 20, 2004 7:25 am   Post subject: Reply with quote

you have to click on the link to download a midi (right click) and go to properties. Past that code into the code, just not the name of the song. Like this: <BGSOUND SRC="http://www.hamienet.com/21121.mid" LOOP="infinate">
Back to top
View members profile Send private message Send email AIM Address Yahoo Messenger
karl 2



Joined: 14 Apr 2007
Posts: 13
Location: england

PostPosted: Wed May 23, 2007 10:57 am   Post subject: Reply with quote

does it work with mp3s icon_question.gif
Back to top
View members profile Send private message Send email MSN Messenger
Sundog



Joined: 17 Sep 2006
Posts: 29

PostPosted: Fri Jun 08, 2007 9:07 am   Post subject: Reply with quote

[quote="karl 2"]does it work with mp3s :?:[/quote]
Not official. But it should work with Wave & AIFF.
Back to top
View members profile Send private message
Carlos_Chahin



Joined: 16 Jul 2009
Posts: 11

PostPosted: Wed Jan 27, 2010 4:54 am   Post subject: Working example Reply with quote

There's a working example here:

http://www.partnersinrhyme.com/tutorials/embed.html
Back to top
View members profile Send private message
Display posts from previous:   
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 All times are GMT-8:00
You can post new topics
You can reply to topics
You cannot edit your posts
You cannot delete your posts
You can vote in polls