I cant bind video with API.
code is below.........
function finished_loading (e:Event) {
}
function initHandler(event:Event):void {
trace("initHandler: " + event);
vr = MovieClip(loader.content); // cast 'DisplayObject' to 'MovieClip'
vr.pano.setWindowSize(640,360);
var VideoUrl:String = "living.flv";
vr.attachVideo(VideoUrl);
}
We need a simple panorama video demonstration(with API).
Bind video.
You need to call the method with the video xml string not just the url. If you change the line to it should work.
Code: Select all
var VideoUrl:String = "<video url=\"living.flv\"/>";
MfG, Thomas