Solved

How can I play a midi file in a page?

Posted on 2002-07-05
5
165 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
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Codeigniter Query Help Returning JSON 4 46
php error 27 55
Make checkboxes execute queries on click 8 30
Dump data from mysql to xls php 10 16
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
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 …

685 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