Can't play Video in Sony Xperia
This is extremely weird. I deploy my Adobe AIR app as an .apk for my Xperia and everything works fine EXCEPT playing videos.
I have tried flash.media.Video (NetStream, NetConnect etc). I get the video to play fine in the Desktop simulator. If I try to play video on the mobile device (Sony Xperia Arc S) I get a black screen!
I have managed to narrow down the source of the problem: as soon as this piece of code is encountered:
"new Video()" (yes, exactly as you see it here, nothing more, nothing less!)
the app's screen (all of it) goes black! I can still hear the music playing as well as the sound effects, but I get a completely black screen!
Occasionaly, I get a glance of the video's first frame before the screen goes black.
Trying to hack around this problem, I embedded my video as a MovieClip. However, as soon as I create an instance of the embedded MovieClip, the screen goes black again.
Finally, I have tried playing a video with the StageVideo class, but as soon as this piece of code is encountered:
"stage.addEventListener(StageVideoAvailabilityEvent.STAGE_VIDEO_AVAILABILITY, onStageVideoState);"
again, I get a black screen on the mobile (on the desktop, I simply get a "StageVideo not available" message or something like that).
I haven't had the chance to try on another device. Is it my mobile? Is it Xperia? Is it AIR?
PS. I have tried Air 3.4 and 3.5, both in Flash Builder and Flash CS6 with exactly the same results.
PS2. Anything else to hack my way through? (StageWebView is rejected because I need to show my stuff above the video)
