How can I play a midi file in a page?

How can I play a midi file in a page? What programmig do I need?
DImirCAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
dkjariwalaConnect With a Mentor Commented:
This doesnt relate to PHP. Anyways you can do something like,


<embed src="yourmidifile.mid" width=32 height=32 autostart=true>


This will play the specified file and it will start playing automatically.

If u want MIDI to be played as background use following inbetween HEAD tags.

<head>
<BGSOUND SRC=" MIDI-filename.mid" loop="infinite">
</head>

JD
0
 
DImirCAuthor Commented:
Are those solutions both valid for IE and Netscape?
0
 
DImirCAuthor Commented:
Are those solutions both valid for IE and Netscape?
0
 
DImirCAuthor Commented:
Also does the visitor need any plugin?
0
 
dkjariwalaCommented:
Yeah, IE and netscape it will work.

And most of the browser do have MIDI playback support. So I dont think u will face problem.

JD
0
All Courses

From novice to tech pro — start learning today.