Beiträge von margaryan

    Hello,

    We are using "krpano 1.19 - Pre Release 3" and having following strange problem during cardboard view mode
    when we enable VR mode by calling "webvr.enterVR()" and going from one virtual pano to another by holding + icon on spots
    after few virtual tours switch we got fetal error - "webvr.xml loading failed" as shown in following screenshot

    https://fbcdn-sphotos-g-a.akamaihd.net/hphotos-ak-xpa…1c12d78c6a5a49e

    i'm attaching also video https://youtu.be/K-68ziZa2Y0 where at the last part you can see also other issues like hanging which happens not so often (when after pressing on spot noting happen it hangs)
    seems this issue present not only on ios but also in other places, but in case of normal view all works perfectly you can go through spots as match as you need

    Can someone helps us with this question please ?

    Thanks

    Hi

    we where updated our krpano from krpano-1.18.4 to krpano-1.19-pr2 and our viewer stopped working
    in Firefox i'm getting stop script alert with message

    "A script on this page may be busy, or it may have stopped responding. You can stop the script now, open the script in the debugger, or let the script continue.
    Script: http://dev.360stori.es/360/krp…1_19_pr/tour.js line 11 > eval:1"

    you can see it on this page - http://dev.360stori.es/en/viewer/#/!/…+metro+station/

    Can you please help us to determine issue
    PS: tour.js generated with license key through - "MAKE VTOUR (NORMAL) droplet.bat"

    Thanks

    Hello,

    we have currently running krpano with panoramic images all works perfectly ( you can see it here - http://dev.360stori.es/en/viewer/#/!/…+metro+station/)
    and we where trying to integrate also Videoplayer Plugin to have also videou tours section but we had following issue

    or current structure (as you can see in above link) is following
    we have
    1) skin.xml - where defined krpano basic layout params and plugins
    2) swfaddress.xml - which contain list of virtual tours like this
    <pano
    name = "barekamutyun+metro+station"
    xmlurl = "/360/krpano/panos/91001/91001.xml"
    pageurl = "/!/barekamutyun+metro+station/"
    pagetitle = "Barekamutyun metro station"
    />
    3) and virtual tour xmls e.g. - 91001.xml contain
    <image type="CUBE" ...
    and spots
    <hotspot name="spot4060" ...

    and we are using html5 krpano , and krpano initialization called through this createPanoViewer(...

    so to integrate videos we where trying to replace <image type="CUBE" with
    <plugin name="video"
    url.flash="%SWFPATH%/krpano_1_18/plugins/videoplayer.swf"
    url.html5="%SWFPATH%/krpano_1_18/plugins/videoplayer.js"
    videourl="%SWFPATH%/panos/91001/testvideo.mp4"
    loop="true"
    />
    <image>
    <sphere url="plugin:video" />
    </image>

    but it did not work, from errors i understood that it not recognize videoplayer.js plugin to load,
    when we did it for emmbed pano case definition of plugin in virtual tour (91001.xml) works normally

    can you please helps us and point out solution for this situation ???

    Thanks

    Hi,

    Thank you for fast answer, but can you please provide example for second case

    how i can detect screentospare is done ? and call js in case of it
    i was trying to do something like this but
    GLOBAL_KRPANO_OBJECT.call("screentosphere(js_x,js_y,c_ath,c_atv); js(setJsAth('c_ath')); js(setJsAtv('c_atv')); ");
    i'm not sure if it logically correct


    Thanks

    Hi,

    we are using html5 Krpano version(1.16.9)
    in our ios application in some web view component.

    We where trying to convert screen x,y to ath and atv by using screentosphere
    function call (from js function) but it is returning wrong value.

    After a lot researches and suggested solutions our final js function looks like this
    but it still not working normally ...

    function convertXYToAthAtv(x, y){

    //IOS bug fix - Bug: screentosphere wrong in iPhone
    x = x/2;
    y = y/2;

    GLOBAL_KRPANO_OBJECT.call("set(js_x,"+x+")");
    GLOBAL_KRPANO_OBJECT.call("set(js_y,"+y+")");
    GLOBAL_KRPANO_OBJECT.call("screentosphere(js_x,js_y,c_ath,c_atv)");

    var ath = GLOBAL_KRPANO_OBJECT.get("c_ath");
    var atv = GLOBAL_KRPANO_OBJECT.get("c_atv");
    var resultArr = [ath,atv];

    return JSON.stringify(resultArr);
    }

    Can you please helps us and point out what is wrong with it, or how we can make it work normally
    Thanks

    Hello
    we are one of your licensed krpano users
    we where trying to convert our html5 cubical krpano to spherical
    but it keeps alerting "No HTML5 compatible images available"
    our images generated as spherical
    you can see cubical krpano here
    http://360yerevan.com/embed/91001/
    and on our test server example of spherical krpano which was broken
    http://dev.360stori.es/embed/91001/
    can you please help us point out what we are doing wrong ?
    probably some setting is missing or images format are wrong ...
    Thanks