Page 1 of 1

Disable gyro

Posted: Sat Jun 25, 2016 6:25 pm
by kris
How to disable gyro when using a cardboard.ggt template.

Re: Disable gyro

Posted: Sat Jun 25, 2016 11:55 pm
by Hopki
Hi,
Have a button with a mouse click, or have a container with a player init action:

mouse click => goto url => url: javascript:gyro.disable(); => target: (lear blank)
or
player init => goto url => url: javascript:gyro.disable(); => target: (lear blank)

Regards,
Hopki

Re: Disable gyro

Posted: Mon Jun 27, 2016 11:43 am
by kris
I forgot to mention; its disable gyro on start when using cardboard.ggt template.

Re: Disable gyro

Posted: Mon Jul 25, 2016 1:21 pm
by ggibbon
Hi Hopki

Is it also disable on start with normal HTML output?

Thanks

Re: Disable gyro

Posted: Tue Jul 26, 2016 5:12 pm
by Hopki
Hi,
The Gyro needs to be enabled in the normal template so select Include gyro control.
Then you can use the disable it on start up by selecting disable on start up.
Then you would use the actions in a button to toggle the gyro.

mouse click => goto url => url: javascript:gyro.toggle(); => target: (leave blank)

Regards,
Hopki