Pause flash activity

Discussion in 'Firefox' 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

  2. ["Followup-To:" header set to alt.fan.mozilla.]
    On 2006-08-19, <> wrote:

    > 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?


    Yup. You can tweak Mozilla/Firefox/IE to do the same:

    http://www.squarefree.com/bookmarklets/flash.html

    --

    John ()
    John Thompson, Aug 19, 2006
    #2
    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. Cisco Fan

    Pause Frames on Catalyst switches?

    Cisco Fan, Dec 6, 2004, in forum: Cisco
    Replies:
    6
    Views:
    8,872
  2. Marv
    Replies:
    3
    Views:
    3,586
    Arnold Nipper
    Jun 20, 2005
  3. Michael T. Anderson
    Replies:
    3
    Views:
    470
    Michael T. Anderson
    Sep 29, 2005
  4. J.H. Holliday

    Pause in boot process

    J.H. Holliday, Jun 10, 2005, in forum: Computer Support
    Replies:
    4
    Views:
    549
    J.H. Holliday
    Jun 12, 2005
  5. Mike Schumann

    Sipura SPA-3000 Dial Plan Pause Example

    Mike Schumann, Sep 24, 2004, in forum: VOIP
    Replies:
    0
    Views:
    750
    Mike Schumann
    Sep 24, 2004
Loading...

Share This Page