Pause flash activity

Discussion in 'Javascript' started by mailpitches@email.com, Aug 19, 2006.

  1. Guest

    I've noticed a subtle yet cool feature in Safari and I'm wondering how
    they did it. If you go to YouTube and open one of the videos in a new
    tab (Command-click), the page will load in the new tab but the video
    won't start loading or playing. Then if you click on the tab, the video
    will start playing and loading. If you immediately click back to
    another tab, the video will continue loading but will stop playing.

    It seems pretty clear how Safari could stop the flash animation from
    loading the first time, but how does it distinguish between preloading
    activity and video-playing activity when you switch back to the other
    tab? Is it possible to emulate this by interacting with the flash
    animation with javascript?

    I only have limited experience with Flash, which is probably why I'm
    puzzled by this. I'm a programmer though so don't spare the details.

    Thanks
    MP
     
    , Aug 19, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. JBL

    Constant Network Activity

    JBL, Sep 11, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    524
  2. Shashi
    Replies:
    6
    Views:
    542
    S. Justin Gengo
    Aug 20, 2004
  3. Bernie
    Replies:
    0
    Views:
    651
    Bernie
    Sep 5, 2004
  4. Jim Higson
    Replies:
    1
    Views:
    552
    Jim Higson
    Sep 21, 2004
  5. Replies:
    8
    Views:
    23,637
    SABOND21
    Feb 9, 2012
Loading...

Share This Page