Skip to main content
Inspiring
June 21, 2011
Question

AIR 2.7 bug? STAGE_VIDEO_AVAILABILITY event isn't fired in AIR 2.7

  • June 21, 2011
  • 1 reply
  • 735 views

I'm finding out that in an application I'm developing, the STAGE_VIDEO_AVAILABILITY ("StageVideoAvailability" string) event isn't being fired when compiled with AIR 2.7 SDK. With AIR 2.6 that event actually worked. I'm having the problem not only in Android/iOS but in ADL as well.

The code I'm using is the regular one for that:

this.stage.addEventListener(StageVideoAvailabilityEvent.STAGE_VIDEO_AVAILABILITY, showVideo);

The event never fires. I've also tried both CPU and GPU modes. What's the problem?

Thanks.

This topic has been closed for replies.

1 reply

chris.campbell
Legend
June 21, 2011

I'll pass this along to the mobile team.  I was under the impression that stage video was only available for TV devices with AIR at this time.  Regardless, the behavior change is troubling.  While we wait for the mobile team to investigate, would you mind adding a new bug report to bugbase.adobe.com?  Please include any sample code or project that would help us reproduce the issue internally.

Thanks,

Chris

OMA2kAuthor
Inspiring
June 21, 2011

Thanks for your answer. Well, the StageWebVideo certainly didn't work in AIR 2.6 for mobile (iOS/Android) devices, but it worked in ADL and Desktop, IIRC, and I think that event was fired anyway in 2.6.

I'll retest with 2.6 just in case, and then file a bug.

OMA2kAuthor
Inspiring
June 22, 2011

Ok, I've reverted back to AIR 2.6 and re-tested, and I see that event still does not fire.

Maybe I was recalling wrong. Probably the confusion came because I also have a version of my application for Flash Player, and in Flash Player it does fire the event, even in the Flash Player for Android (no video is shown, though; only in Flash Player desktop I've been able to see a working StageVideo).

So:

- In AIR 2.6 for Android and iOS: Event is NOT fired

- In AIR 2.7 for Android and iOS: Event is NOT fired

- In Flash Player 10.2 for Android: Event IS fired, but video is NOT shown (sound only)

- In Flash Player 10.2 for Desktop: Event IS fired, and video IS shown

I hope StageVideo can be implemented in the next version of AIR.