Page 1 of 1

IOS 13 Gyroscope issue

Posted: Sat Oct 26, 2019 11:22 am
by Hopki
For Pano2VR 4.5.3 and 5.2.5
Please see attached a modified pano2vrgyro.js file.
It has been tested with both Pano2VR 4.5.3 and Pano2VR 5.2.5 outputs.
In both cases, you have to start the gyro manually by using a button, this is a requirement by Apple.

When opening the tour, you click the gyro button, this will then display the "Allow website xxx to use the gyro?" dialogue box open.
You select Allow.
The next time you visit the website the gyro will work as normal.
If you go to Safari and clear the browser History and Data then you will need to repeat the process.

The button will need the action:

Code: Select all

Source: Mouse Click
Action: Go To URL
URL: javascript:gyro.enable();
Target: (leave blank)
Other URL calls you can use are:

Code: Select all

For Pano2VR 6.0 and 6.1.0
You just need to swop the pano2vr_player.js file with one from Pano2VR 6.1.1.