PDA

View Full Version : How to force DHTML Modal stop FLV playing on closing?



chishikinohito
10-08-2009, 10:37 AM
1) Script Title: DHTML Modal

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/dhtmlmodal.htm

3) Describe problem:

Thank you for the wonderful script! It is great! :)

Could anyone please help me to answer a question:

HOW to force the script on closing DHTML Modal Window ALSO to KILL all flash pressess (stop flv player)?

I 'm going to use dhtml modal for containing the FLV object (flash flv player) and everything is great but when I close the dhtml modal window in the middle of playing you still can here the music playing?

HOW TO STOP FLV PLAYING ON CLOSING DHTML MODAL?

Thank you very much in advance!

jscheuer1
10-08-2009, 11:41 AM
DHTML Modal isn't really designed for that. If you could load an empty page into the iframe or even change its href value to 'about:blank', that would effectively stop the video. However, there are other scripts that already take care of this:

http://www.stickmanlabs.com/lightwindow/

or:

http://www.dynamicdrive.com/forums/showthread.php?p=100723#post100723

possibly others.

chishikinohito
10-08-2009, 12:20 PM
How can I load an empty page with my content? I tried with frames with settings 100% 0 and it didn't work?





DHTML Modal isn't really designed for that. If you could load an empty page into the iframe or even change its href value to 'about:blank', that would effectively stop the video. However, there are other scripts that already take care of this:

http://www.stickmanlabs.com/lightwindow/

or:

http://www.dynamicdrive.com/forums/showthread.php?p=100723#post100723

possibly others.

chishikinohito
10-09-2009, 06:55 AM
Could anyone help me?? I want to keep this script?

Thank you much!

chishikinohito
10-09-2009, 08:35 AM
I heard that you could do it with SoundMixer.stopAll();" but how??

Guys could you please tell me where could I add this or another string?






Could anyone help me?? I want to keep this script?

Thank you much!