Click to See Complete Forum and Search --> : Stopping a sound from playing when window minimised


duybee
08-23-2005, 02:46 PM
Hello,
I have embedded a midi file into my html site using:

<embed src="http://www.geocities.com/duybee/3doorsdown_herewithoutyou.mid" hidden="true" autostart="true" loop="true">

The midi plays when i load the webpage, and i would like to stop or better yet pause the midi whenever someone minimises the webpage. I have read many advanced html sites on google and i have not yet found a way to fix this. Any help would be greatly appreciated.

Duy

The Little Guy
08-24-2005, 08:29 AM
I don't think that is possible, because the page is still running. I would suggest that you make a play and pause button.

JayM
08-24-2005, 11:05 AM
Nope, it isn't possible.

Cheers,
Jay

duybee
08-29-2005, 09:59 PM
well i was visiting this piano site and it seems to work.
http://set7.piano.free.fr/files/MAIN/main_eng.html
Is it possible using something other than htm? If someone can point
me in the right direction ill be very grateful.