Re: playing midi files in web pages
"Robert M Jones" wrote...
>I would appreciate some guidance on simple html coding for putting a midi
>file in a page with a displayed player, so the user can choose to play it.
>I'd like to code a midi file to play on as many platforms as possible -
>certainly IE6,7,8 and Firefox 2 - 3.5
>
> I am trying to move away from embed tags but struggling to find a code
> that works.
>
> I am not an expert on html or css - for my web editor I use a mixture of
> Notepad and an opensource NvU clone called Konqueror (which has its
> limitations) - and my site is laid out via tables. My editing skills are
> limited to cut and paste on supplied code, altering things like filenames
> and paths. Budget is limited - its a small charity site. I try and make
> the pages error free using html tidy but using the old style tags means
> they have lots of warnings.
>
> The code I use at present which seems to be sometimes problematic on
> Firefox 3.5.3, (sometimes causing it to hang even in Safe Mode) is this
>
> click the play button to hear <EMBED type=
> "application/x-mplayer2" pluginspage=
> "http://www.microsoft.com/Windows/MediaPlayer/" name=
> "MediaPlayer" src="filename.mid" autostart=
> "0" showstatusbar="0" volume="-1" height="40" width=
> "80">
>
> After 2 or 3 plays of a a file, FF seems to hang and has to be closed in
> Task manager.
>
> The other problem seems to be that in IE8 the displayed quicktime player
> defaults to having its volume control at zero. Altering the code for
> volume doesn't seem to have any effect on that.
I know squat about playing midi files in browsers, but incase you -or anyone
else- have the option I will say that playing mp3 is getting easier by the
week. (Go to istock, search for flash mp3 player and see what I mean)
--
======= dE|_ =======
www.websitefoundry.co.uk
www.crackguitar.com
Fender~Photoshop~Markup
date: Fri, 9 Oct 2009 17:44:13 +0100
author: dE|_
|