0 Replies Latest reply on Oct 2, 2009 11:29 AM by rfrishbe

    [svn:fx-trunk] 10826: When a Video is removed from the stage or becomes invisible, the video will now pause playback.

    rfrishbe Level 3

      Revision: 10826

      Author:   rfrishbe@adobe.com

      Date:     2009-10-02 10:28:43 -0700 (Fri, 02 Oct 2009)

       

      Log Message:

      ***********

      When a Video is removed from the stage or becomes invisible, the video will now pause playback.  This features is controlled through a new property, playWhenHidden, which defaults to false (meaning we don't play the video when it's hidden).  When it becomes visible/on-stage again, we will start playing the video if autoPlay=true.  Otherwise, the video will not automatically start playback.

       

      This property still needs to be reviewed by PARB.

       

      Also, updating a comment in SkinnableContainer relating to a FIXME I own.

       

      QE notes: -

      Doc notes: -

      Bugs: SDK-21928

      Reviewer: Deepa

      Tests run: checkintests, mustella VideoElement/VideoPlayer

      Is noteworthy for integration: Yes

       

      Ticket Links:

      ************

          http://bugs.adobe.com/jira/browse/SDK-21928

       

      Modified Paths:

      **************

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableContainer.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPlayer.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/VideoElement.as