Skip to main content
Participating Frequently
November 21, 2011
Question

StageVideo play multiple videos in sequence (playlist) on iOS

  • November 21, 2011
  • 1 reply
  • 951 views

Hi everyone!

I have to play severals locals videos in sequence with stageVideo (imagine an dynamic background wich runs an playlist).

Its runs very well (the MP4 videos play smoothly) but when the videos are switching appear an full sreen white frame for 3 seconds and later the second video start to play (on my iPhone4). 

private function netStreamStatus(event:NetStatusEvent):void{

         if (event.info.code == "NetStream.Play.Stop"){

                 netStream.play(VIDEO2)

         }

}

If i rewind the first video (loop) the white frame never appear:

private function netStreamStatus(event:NetStatusEvent):void{

           if (event.info.code == "NetStream.Play.Stop"){

                 netStream.seek(0)

         }

}

¿How can i do an smooth video change with an stageVideo and ios devices?

Thanks a lot!

This topic has been closed for replies.

1 reply

PabloReyNAuthor
Participating Frequently
November 22, 2011

Here i attach an FXP project (Flex 4.6 Mobile APP) wich play some videos with stageVideo.

You can see in a real device like iPhone 4 (not desktop) an BLACK screen when swtiching videos (about 3 seconds).

Can anyone helpme please?

Thanks a lot!

http://goo.gl/75tBz