Solved

How can I play a midi file in a page?

Posted on 2002-07-05
5
168 Views
Last Modified: 2008-03-06
How can I play a midi file in a page? What programmig do I need?
0
Comment
Question by:DImirC
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 5

Accepted Solution

by:
dkjariwala earned 100 total points
ID: 7132660
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
 

Author Comment

by:DImirC
ID: 7132829
Are those solutions both valid for IE and Netscape?
0
 

Author Comment

by:DImirC
ID: 7132830
Are those solutions both valid for IE and Netscape?
0
 

Author Comment

by:DImirC
ID: 7132836
Also does the visitor need any plugin?
0
 
LVL 5

Expert Comment

by:dkjariwala
ID: 7133513
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

Featured Post

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
This article discusses four methods for overlaying images in a container on a web page
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question