You are not logged in.

Dear visitor, welcome to Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.


Friday, June 10th 2011, 12:04am

Load video pano in swf

I want to load KRpano.swf(video_player) in swf and run in browser. Need to use exemple in the folder "examples\as3-interface\flash-cs4-embed-example"? Is there any easy way?


Friday, June 10th 2011, 8:50am

Where my is mistake? doesnt work

krpano = krpanointerface;

// open the krpano log and show a message:"showlog(true);");
krpano.trace(0, "ready...");

var image:Object = krpano.get("image");
image.sphere.url = "plugin:video";

var view:Object = krpano.get("view");
view.hlookat = -90;
view.fovmin = 50;
view.limitview = "lookat";

var display:Object = krpano.get("display");
display.details = 20;
display.flash10 = "on";"addplugin(video);");
var vid:Object = krpano.get("plugin[video];");
vid.url = "plugins/videoplayer.swf";
vid.videourl = "vids/myvideo.f4v";
vid.parent = "STAGE";


Friday, June 10th 2011, 9:37am

Work! but there are problems. the video loads and play but my navigation controls don't work, video doesnt rorate and I get and error saying

ERROR: download of "file://project_directory/plugin:video" failed

i know that there is problem when the video file is located in a different folder, but I put everything into one folder. But the problem is not solved. error saying

ERROR: download of "file://project_directory/plugin:video" failed

how to solve the problem?


Wednesday, June 15th 2011, 2:42pm


there is a problem in the current version, when the video is not in the same folder as the swf file,
this will be fixed in the next release,

best regards,

Similar threads