Pano2vrGyro

Q&A about the latest versions
SRibas
Posts: 64
Joined: Fri Oct 16, 2015 5:28 pm
Location: Porto
Contact:

It simply does not work on iPad or iphone. Using this sillouette 6 skin.

P.S: I suspect my actual Pano2VR6 Pro is not correctly installed. The application symbol is still the Pano2VR 5beta.....
User avatar
Tony
Posts: 1342
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Hi Siribas,

I've put together a quick sample of a project that uses the different types of Gyro actions as follows;

1. Toggle Gyro
2. Turn on Gyro
3. Turn off Gyro
4. Turn on Gyro with no Roll

Now it's not using the Version 6 skin but just some text boxes with logic blocks attached but it might be helpful.

You can find the project at https://s3-ap-southeast-2.amazonaws.com ... index.html

I've attached the skin and project for you to review

cheers,

Tony
Attachments
gyro_sample.zip
(3.39 KiB) Downloaded 197 times
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
SRibas
Posts: 64
Joined: Fri Oct 16, 2015 5:28 pm
Location: Porto
Contact:

Thanks Tony!
I used one of my panos and uploaded your gyro-sample to my web site :
http://parquesnaturais.360portugal.com/ ... /index.php
I have turned it on and off, but the result is the same, no movement.

As attachments I send you my output files, so you can confirm any error. It does not include the tiles

Regards
Attachments
gyro-sample.zip
(66.98 KiB) Downloaded 176 times
User avatar
Tony
Posts: 1342
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Hi,

Let me preface these comments by saying upfront I'm not a developer.

Unfortunately I can't tell anything from the files you have supplied but looking at the Console view there are a number of errors showing.

Image

These ones caught my eye!

Code: Select all

pano2vr_player.js:353 [Deprecation] The deviceorientation event is deprecated on insecure origins, and support will be removed in the future. You should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details.
b.Mm @ pano2vr_player.js:353
pano2vr_player.js:353 The deviceorientation events are blocked by feature policy. See https://github.com/WICG/feature-policy/blob/gh-pages/features.md#sensor-features
b.Mm @ pano2vr_player.js:353
Update:

I did the same thing with my sample project and got a similar result, so I don't think that's the issue.

Image

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
User avatar
Tony
Posts: 1342
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Hi,

Okay I made a page and embedded the sample file in an iframe and no gyro on iPad in Chrome or Safari :(

http://tonyredhead.com/gyro-test

Took a look on Google but couldn't find a work around.

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
SRibas
Posts: 64
Joined: Fri Oct 16, 2015 5:28 pm
Location: Porto
Contact:

Thanks Tony

Thanks for your effort to find the reason. It seams the problem is with the web publishing using iframes
I also am using iframes to publish my panotours, as I use Rapidweaver for my website.

(Inside facebook people loves my aerial 360 mainly because of the gyro support)

Regards
User avatar
Hopki
Gnome
Posts: 13017
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Guys,
This link: http://parquesnaturais.360portugal.com/ ... /index.php
Opens with a pano using the player from Pano2VR 5.2.3/15990 HTML5/CSS3 & WebGL Panorama Player.
So therefore will not work with any Gyro with V6 skins.

@SRibas: You need to publish with Pano2VR 6 or if still using V5 change the actions.
As your using V5 you need to go to the HTML tab and select use Gyro to add the gyro.js file to your output, again I can not see the gyro.js file on your server.

You can now add javascript code in the Goto URL action. To toogle the gyroscope simply add:

Code: Select all

javascript:gyro.toggle();
as the URL in the Goto URL action.

To enable/disable the Gyro call:

Code: Select all

javascript:gyro.enable();

Code: Select all

javascript:gyro.disable();
If skins have _V5 or _V6 in the file name then this reflects which version they will work with.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
SRibas
Posts: 64
Joined: Fri Oct 16, 2015 5:28 pm
Location: Porto
Contact:

Hi Hopki, sorry only today I saw your input.
Yes the URL I gave was using two virtual tours, one was the original V5 (a lot of my virtual tours where developed using V5), but at that time I have used this URL to test the gyro sample from Tony, and after that test I have delete it. Probably you did not had access to it.
The gyro sample was a V6 file, and it did not work.
The problem is with the use of iFrame to publish the Virtual tour.

regards
ADBosscher
Posts: 13
Joined: Thu Aug 09, 2018 3:26 pm

For me it's exactly the opposite. Gyro is always on even if I turn it off in the menu. The button just doesn't change anything.

Like PaulK said in the start of the thread it's very annoying that the gyro has this autolevelling feature. That's why I was hoping to be able to turn it off but no reaction from the button. I use a modified simplex skin but didn't change anything to the gyro button, left it as defined in the basic skin.

any clue why the gyro button doesn't seem to do anything? Did I miss a checkbox somewhere?

pano is here: http://bocostudio.com/virtual-reality-360/

EDIT: Now I tried adding the commands that Tony suggested: "player settings, gyro, enabled-disabled" but even then nothing happens...
ADBosscher
Posts: 13
Joined: Thu Aug 09, 2018 3:26 pm

Ok I found the problem, it's coming from the wordpress plugin ... If you enable it there you can't disable it in your tour :shock:

Quite weird behaviour if you ask me because now I can't enable it in my individual tours, I have to chose once and for all if I want gyro or not on all my pano's :cry:
User avatar
Hopki
Gnome
Posts: 13017
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

HI Guys,
What version of Pano2VR have you used?
Pano2VR 6 now has the Gyro in the player so you can disable the gyro in the plugin and turn it on and off in the skin.
All the other versions you either have the gyro on or off and selected in the plugin.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
ADBosscher
Posts: 13
Joined: Thu Aug 09, 2018 3:26 pm

I'm using Pano2vr 6 beta 3 :?

I'll make some more test later today or monday with the basic simplex skin to see if something has changed now that I turned off this option in the wordpress plugin. I modified some stuff to the skin trying to get the gyro off so maybe these mods are now uploaded on my website, I made so much tests to get it to turn off that I don't remember which version is uploaded.

Will confirm it when I have time to work on it again
ADBosscher
Posts: 13
Joined: Thu Aug 09, 2018 3:26 pm

Works great now, indeed you just have to turn it off in the plugin. I still had some trigger in my modified skin from when I was trying to get the gyro turn off. Now I've reset my modifications and it works great.
User avatar
Hopki
Gnome
Posts: 13017
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

8)
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Post Reply