Hi there
I'm creating a virtual tour, and I would like the camera to start rotating right after the panoramic photo loads, but not to rotate after the user moves it.
I tried executing the following action at onstart:
<action name="init">
set(autorotate.waittime,0);
set(autorotate.enabled,true);
delayedcall(1,set(autorotate.waittime,-1))
</action>
But unfortunately it didn't work, as 1s after start the camera stopped rotating, even without any user interaction. Is there some way to work around this? I'm thinking of adding an invisible plugin and capturing the onclick action, but it's not very elegant and probably won't work if the keyboard is used for control.
Thanks
Manuel