Beiträge von DZHETIGAPA

    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?

    Where my is mistake? doesnt work

    krpano = krpanointerface;

    // open the krpano log and show a message:
    krpano.call("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.vlookat=0;
    view.fov=90;
    view.fisheyefovlink=0.70;
    view.fisheye=0.60;
    view.fovmax=100;
    view.fovmin = 50;
    view.limitview = "lookat";

    var display:Object = krpano.get("display");
    display.details = 20;
    display.flash10 = "on";

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

    Hi!!!

    Why doesnt work my code? I want add progress.showwait when buffer is empty.

    Code
    case "NetStream.Buffer.Empty"://Буферизация                {krpano.set("progress.showwait", "loopings()")
    break;
                    }                case "NetStream.Buffer.Full":                {krpano.set("progress.showwait","none"); break;                }

    Why doesnt work my code?

    Code
    case "NetStream.Buffer.Empty":{                krpano.set("progress.showwait", "loopings()") // or krpano.set("progress.showwait", "loopings") or krpano.call(set(progress.showwait, loopings()))break;
                    } сase "NetStream.Buffer.Full":  { krpano.set("progress.showwait","none");                   break;   }