I'd like to add a button to change
Code: Select all
invertcontrol="1"
Code: Select all
invertcontrol="0"
I understand you can do this with elements defined within the document HTML file (such as gyro on/off)… but is there any way of defining something so a variable in the XML for an HTML5 pano can be changed 'on the fly'… or is it fixed once the output is produced from P2VR?
It'd be even more cool to to do it automatically via checking the user agent for the browser, but I guess that'd require some more involved Javascript-fu…
Cheers