How is it possible to have a fullscreen button to appear only on android devices?
Or the other way round if it makes it easier
How do I hide a fullscreen button on ios?
Howto FS button only on Android?
Hi,
It is possible but I'm pretty sure it's not possible within the software application.
In the past I've used Javascript in the index.html page to detect the iPad and iPhone and deliver a different .xml and skin.js file based on the detection.
For example if you browse to this page http://rebrand.ly/p2vr-detect on an iPhone, iPad and Desktop/Android device you will see the following results.
If you view the source of the index.html page you will see the code I used to do the detect. In the project file I have an .xml file for iPad, iPhone and Android as well as a skin for each device. Come to think of it I could have used the same skin for the iPad and Phone.
If you are using PHP there is a document in the Pano2VR site that explains how to use it https://ggnome.com/wiki/Using_PHP_to_switch_HTML5_skins
cheers,
Tony
It is possible but I'm pretty sure it's not possible within the software application.
In the past I've used Javascript in the index.html page to detect the iPad and iPhone and deliver a different .xml and skin.js file based on the detection.
For example if you browse to this page http://rebrand.ly/p2vr-detect on an iPhone, iPad and Desktop/Android device you will see the following results.
If you view the source of the index.html page you will see the code I used to do the detect. In the project file I have an .xml file for iPad, iPhone and Android as well as a skin for each device. Come to think of it I could have used the same skin for the iPad and Phone.
If you are using PHP there is a document in the Pano2VR site that explains how to use it https://ggnome.com/wiki/Using_PHP_to_switch_HTML5_skins
cheers,
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/
Hi J,
I do a lot of Google searching and then cobble together the code snippets I find, sometimes it works sometimes it doesn't. In this case I got lucky.
cheers,
Tony
Me developer, not in a million years. Trained as a graphic designer, started a web development company in 1997, employed a few developers but I'm not a coder!Thanks heaps. Life as a developer must be so easy, LOL
I do a lot of Google searching and then cobble together the code snippets I find, sometimes it works sometimes it doesn't. In this case I got lucky.
Now there's a program that taxes my brain. I've done a couple of client projects in krpano but I use a brilliant developer to put all the assets together.As a sidenote, I remember that selecting/deselecting elements for certain devices in krpano is a LOT easier
cheers,
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/