Improvement for Pano2VR HTML5 writer

Q&A about the latest versions
Post Reply
Posts: 3
Joined: Wed May 30, 2012 9:34 am

Wed May 30, 2012 10:28 am


I've got some ideas for improvements for the Pano2VR HTML5 writer:
  • Let the state of the viewer be reflected in the class attribute. For example, when in full screen, add class="fullscreen", or when auto-rotating add class="auto-rotate". And of course class="fullscreen auto-rotate" when doing both. It would make it a lot easier to style the viewer with CSS, for example to use the fullscreen class to increase the Z-index of the viewer so that it's on top of all other panorama's on the page.
  • Emit (and document) events when the panorama buttons are clicked, so that it's easy to add custom behaviour.

Post Reply