Results 1 to 5 of 5

Thread: How to force DHTML Modal stop FLV playing on closing?

  1. #1
    Join Date
    Oct 2009
    Posts
    9
    Thanks
    0
    Thanked 1 Time in 1 Post

    Exclamation How to force DHTML Modal stop FLV playing on closing?

    1) Script Title: DHTML Modal

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...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!

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,371
    Thanks
    77
    Thanked 3,421 Times in 3,382 Posts
    Blog Entries
    12

    Default

    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/s...723#post100723

    possibly others.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Oct 2009
    Posts
    9
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    How can I load an empty page with my content? I tried with frames with settings 100% 0 and it didn't work?




    Quote Originally Posted by jscheuer1 View Post
    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/s...723#post100723

    possibly others.

  4. #4
    Join Date
    Oct 2009
    Posts
    9
    Thanks
    0
    Thanked 1 Time in 1 Post

    Thumbs up

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

    Thank you much!

  5. #5
    Join Date
    Oct 2009
    Posts
    9
    Thanks
    0
    Thanked 1 Time in 1 Post

    Question

    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?





    Quote Originally Posted by chishikinohito View Post
    Could anyone help me?? I want to keep this script?

    Thank you much!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •