It does support it, because it was working when I was loading the video with standard NetConnection and NetStream.
I've made a small example of what is going on.
import com.greensock.loading.LoaderMax;
import com.greensock.events.LoaderEvent;
import com.greensock.loading.VideoLoader;
import com.junkbyte.console.Cc;
import flash.events.StageVideoAvailabilityEvent;
import flash.media.StageVideoAvailability;
import flash.media.StageVideo;
import flash.net.NetStream;
stage.align = StageAlign.TOP_LEFT;
Cc.startOnStage(this, "");
var stageVideo:StageVideo;
var videoLoader:VideoLoader;
stage.addEventListener(StageVideoAvailabilityEvent.STAGE_VIDEO_AVAILABILITY, checkVideoMode);
function checkVideoMode(e:StageVideoAvailabilityEvent):void {
e.target.removeEventListener(StageVideoAvailabilityEvent.STAGE_VIDEO_AVAILABILITY, checkVideoMode);
var sv:Boolean = e.availability == StageVideoAvailability.AVAILABLE;
if (sv) {
Cc.log("STAGE_VIDEO");
setStageVideo();
} else {
Cc.log("VIDEO");
setVideo();
}
}
function setStageVideo():void {
videoLoader = new VideoLoader("video/trailer.mp4", {container:this, width:1280, height:720});
videoLoader.load();
videoLoader.content.x = 300;
var v:Vector.<StageVideo> = stage.stageVideos;
stageVideo = v[0];
stageVideo.viewPort = new Rectangle(0, 0, 1280, 720);
stageVideo.attachNetStream(videoLoader.netStream);
}
function setVideo():void {
videoLoader = new VideoLoader("video/trailer.mp4", {container:this, width:1280, height:720});
videoLoader.load();
}
Source files - http://malylink.pdg.pl/misc/example.rar
#WARNING: you must run this in a browser, because StageVideo will never work in Flash IDE.
When you run this in the browser, it will detect that it can handle StageVideo, and will run the setStageVideo(), and the code there for StageVideo works, if the NetStream is setup by the old method. But by passing the videoLoader.netStream to the stageVideo.attachNetStream(); it doesn't work. When you run this, there will be video playing, but in Video() mode from the VideoLoader class., not from the code that I've written below the videoLoader. I've offsetted the videoLoader.x by 300px, so that you could see if there is video loaded to the stageVideo object.