I need to implement to existing project WebVR plugin. I have main krpano.xml file which is pointing to krpano skin file.
I added plugins folder which has webvr.xml and webvr.js files with some other files too.
Inside krpano skin.xml file I added:
<include url="plugins/webvr.xml" devices="html5" />
<plugin name="WebVR" mobilevr_fake_support="true" />
And inside navigation layer I added:
<layer name="btn_vr" x="300" url="down.png" crop="0|0|38|38" onclick="enterVR()"/>
I'm not getting any plugin errors in my console but clicking on button nothing happens. I would like to get effect like on this example: https://krpano.com/tours/corfu/ where there is a cardboard icon in navigation and clicking on it vr is opened.
Any idea what I'm doing wrong with this?
Your xml property probably is not complete. try these.