Re: ok so what happens next? help plz!

[ Follow Ups ] [ The MIDIWORLD Forum ]

Posted by Jeremy Dimmick on July 29, 2001 at 15:01:17:

In Reply to: ok so what happens next? help plz! posted by Manga on July 29, 2001 at 14:23:09:

: Ok, so what happens after I find the midi file I want? Does anyone know some html codes that I can use to put it on my web page? Please help, thanx!

Sure - but first, do make sure you get the authors' permission before posting any of their MIDI files, as they hold copyright.

Assuming you get permission, it's very simple thereafter. You can simply link to it using the normal html anchors, e.g.

click here

and it'll launch whatever media player the user has set up to play MIDI files - WinAmp or whatever. Alternatively you can also use the EMBED tag in Internet Explorer and Netscape:

In this latter case you should get a media player transport embedded in the page itself. There are some switches: AUTOSTART=TRUE (playback starts automatically when the page is loaded - but this is the single most annoying feature in website design IMO - and for use with it, HIDDEN=TRUE (no visible playback controls) and LOOP=n where n is the number of times it'll play, or LOOP=INFINITE if you really want to annoy people.

EMBED isn't official HTML, I think, so the best way to get cross-browser support is to stick to launching the MIDI in an external player using the tags. Internet Explorer has its own proprietary equivalent to EMBED, which is BGSOUND, thus:

Hope that helps.

Follow Ups: