Hello fellow community!
I'm starting to use pano2vr and created my first tour: https://maju.orchidproductions.de/
The floormap does block most of the frame when viewing it on a mobile phone, iPad is fine. Is there an option to disable the map completely automatically on mobile?
The Skin editor is kind of overwhelming for me, I figured out some things but already fail to add that necessary button for playing background sounds on iOS devices... so just refering to the skin editor will not bring me very far
Thank you all very much in advance!
Best gegards!
David
Automatically hide map on mobile?
- Hopki
- Gnome
- Posts: 13029
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi David,
If I may, you may want to look at screen width/height rather than if it's a mobile.
Most tablets will have enough screen real estate to display the map but phones won't.
Using the skins preview window you can see the pixel width and height you need to display the map.
Then you can use Player Width and Height logic blocks to hide the map.
As an example,
Player width =< (equals to and less than) 768px, OR
Player height =< (equals to and less than) 768px
visible = false.
In this example, the device's screen has to be over 768px for the map to be seen, adjust the px for your project.
Regards,
If I may, you may want to look at screen width/height rather than if it's a mobile.
Most tablets will have enough screen real estate to display the map but phones won't.
Using the skins preview window you can see the pixel width and height you need to display the map.
Then you can use Player Width and Height logic blocks to hide the map.
As an example,
Player width =< (equals to and less than) 768px, OR
Player height =< (equals to and less than) 768px
visible = false.
In this example, the device's screen has to be over 768px for the map to be seen, adjust the px for your project.
Regards,
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/
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/
Dear Hopki,
thank you very much for your suggestions! You're the pano2VR master so you "may" always suggest me something I can learn from
So there is a difference between iPad's and other tablets? The iPad's browser is acting like one on the Mac if I understand that right, so it will display the map there.
I will work on implementing that into the skin!
Thanks again for your help!
Best regards,
David
thank you very much for your suggestions! You're the pano2VR master so you "may" always suggest me something I can learn from
So there is a difference between iPad's and other tablets? The iPad's browser is acting like one on the Mac if I understand that right, so it will display the map there.
I will work on implementing that into the skin!
Thanks again for your help!
Best regards,
David
- Hopki
- Gnome
- Posts: 13029
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi David,
My thoughts are you would only want to hide the floor plan because of smaller screens, so not if it's a mobile or not.
So use player size, width/height to trigger if you see it or not.
Regards,
My thoughts are you would only want to hide the floor plan because of smaller screens, so not if it's a mobile or not.
So use player size, width/height to trigger if you see it or not.
Regards,
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/
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/