JavaScript API – Pano2VR 8 Documentation
JavaScript API The player has an external API so it can be controlled with JavaScript. The skin uses this exact API. Since the skin files are not minified, you can simply peek into a skin file to figure out how some things are done internally. All the examples below use pano as the object. However, if you use JavaScript in the skin, you must use player as the object. Using JavaScript in the Skin Editor There are two ways of using JavaScript in the Skin Editor. The Code Element and the Go to URL Action. (Previously the Text Box was