Skip to main content
Participating Frequently
June 12, 2013
Answered

Will StageVideo ever become available for Air Desktop

  • June 12, 2013
  • 8 replies
  • 2648 views

I have been waiting for this feature for a long time.

At this point I would love to know IF it will ever become available.

thnx

This topic is closed to new replies. Start a new post to keep the conversation going.
Correct answer User Unknow

Yes,

But i'm using FlashBuilder4.6 with the latest AirSDK (non-ac2) overlayed on flex_sdk_4.6.0.23201B


import flash.media.StageVideo;

import flash.media.StageVideoAvailability;

import flash.events.StageVideoAvailabilityEvent;

stage.addEventListener(StageVideoAvailabilityEvent.STAGE_VIDEO_AVAILABILITY,

            onStageVideoState);

function onStageVideoState(e:StageVideoAvailabilityEvent):void{

    trace ( e.availability );

}

trace ( stage.stageVideos.length );

This works. Stages = 4 and available on Windows7. Flash IDE.

I used this sdk Download AIR 3.8 SDK & Compiler for Windows (ZIP, 204 MB)

8 replies

User Unknow
Legend
June 12, 2013

Does it not work on your side? If don't miss something - I can play it on latest air beta. It's play h.264 mp4 succesful

gepattoAuthor
Participating Frequently
June 12, 2013

No unfortunately,

all I get is StageVideoAvailability.UNAVAILABLE after listening to the StageVideoAvailabilityEvent

I'm on a Mac (NVIDIA GeForce GT 330M)  (osx 10.8.4) running June 11 Air3.8 beta

I couldn't find it in the release notes, that's why I asked..


User Unknow
Legend
June 12, 2013

Did you set renderMode = direct for StageVideo using?