• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 176
  • Last Modified:

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?
0
DImirC
Asked:
DImirC
  • 3
  • 2
1 Solution
 
dkjariwalaCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now