Click to See Complete Forum and Search --> : Playing midi files?


Draugr
11-16-2003, 06:27 PM
Hi,
I am wondering if anyone knows of a way to accomplish this.

I am working on a website and what I'd like to do is have a midi player embedded in the HTML or Javascript code that will play multiple midi files. I have a playlist of about 12 midi files. I'd like the player to play one midi then when its done start the next midi automatically, etc... and when it gets to the last midi it would restart from midi file #1. Does anyone know if there is code out there to do this?

Also, the site I'm building has lots of information and its spread across different pages. I'd like to have it that the midi player opens in its own small window and minimizes itself automatically. This way the midi music isn't stopped or restarted if a player leaves the main page of the site. If the midi player can open in its own small browser window and auto minimize itself then the music wont be interupted when a visitor clicks on a link to another area of the page. Anyone know if this is possible?

Thanks
John

Jona
11-16-2003, 08:45 PM
Originally posted by Draugr
I am working on a website and what I'd like to do is have a midi player embedded in the HTML or Javascript code that will play multiple midi files. I have a playlist of about 12 midi files. I'd like the player to play one midi then when its done start the next midi automatically, etc... and when it gets to the last midi it would restart from midi file #1. Does anyone know if there is code out there to do this?

http://geocities.com/god_loves_07/playlist.html

Originally posted by Draugr
Also, the site I'm building has lots of information and its spread across different pages. I'd like to have it that the midi player opens in its own small window and minimizes itself automatically. This way the midi music isn't stopped or restarted if a player leaves the main page of the site. If the midi player can open in its own small browser window and auto minimize itself then the music wont be interupted when a visitor clicks on a link to another area of the page. Anyone know if this is possible?

Can't be done. When the window loses focus, it stops playing. Try using frames.

[J]ona