Skip to main content
Participating Frequently
September 25, 2013
Question

StageVideo not visible until orientation change

  • September 25, 2013
  • 1 reply
  • 649 views

Hello,

I'm trying to show a video on iOS using AIR. I copied to code from some samples I found but I got very wierd results.

I wrote the code and ran it a few times, the first few times the video worked fine, then when I ran it again, for no aparent reason, I coudln't see the video anymore, but I could still hear it. After many checks I noticed that if I change the device's orientation I can see the video again, even if I return to the original orientation. It's like the video or stage doesn't refresh so the video is not visible and the orientation change somehow causes it to refresh and work again.

I found that if I change the stage alignment after setting the StageVideo's viewport it works fine again, but this seems like a strange patch..

Did anyone encounter this behvaiour and knows what causes it and how to fix it?

Thanks

This topic has been closed for replies.

1 reply

Douglas McCarroll
Inspiring
October 12, 2013

I'm seeing the same thing. But it's happening with some video and not with other video.

See this thread for more details:

http://forums.adobe.com/message/5755370#5755370