How to enable/include/invoke Plugins?? (SOLVED)

  • *confused* This is a very basic question for which I can't seem to find an answer. How do you enable a plugin? I'd like to experiment with the Gyro plugin, but I can't find a straightforward explanation of how to include it with the panorama and make it work.

    3 Mal editiert, zuletzt von mosleyh (19. März 2013 um 14:23)

  • Figured this out (at least for the Gyro Plugin). Two things were tripping me up. Here are the steps that solved it for me:

    Prepare panorama as usual with droplet

    Copy Gyro.js into the root level of the panorama's folder

    Copy the necessary XML code from the Gyro example XML file (gyro.xml): <plugin name="gyro" url="../../gyro.js" enabled="true" camroll="true" friction="0.5" velastic="0.2" devices="html5" keep="true" />

    paste into the .xml file created by the droplet

    edit the path in the pasted code to be the final path to the Gyro.js once it's uploaded (in red above) (trip-up #1)

    Upload the folder to webserver as usual

    Change permissions of Gyro.js to 777 (trip-up #2)

    And now it works. I suspect that the steps will be similar for other plugins.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!