JAVASCRIPT : modify hotspot when webvr is activated

  • Hi everyone,

    I have a little script to modify hotspot size, position and url, it's work great. But, when I'm entering webvr, all the hotspot are reset to their original status (size, position, url) and I can't find any way to update them. When i try a krpano.get('hotspot.count'); it return zero

    I MUST use javascript only to do that because it's from a Panotour project and I can't modify any xml.

    Other thing, I can't trigger the enterVR or exitVR in javascript, nothing happen with : krpano.call("plugin[WebVR].enterVR();"); ou krpano.call('webvr.enterVR();');

    I'm probably facing an issue related to Panotour but I can't figured it out !

    Please help :)

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!