Sie sind nicht angemeldet.

1

Sonntag, 2. September 2018, 16:52

Another beginner's question: How device orientation toggles fullscreen?

Hi there
As a complete rookie in krpano code scripting and setup I need some help, please!
OK, my question is:
How a mobile device orientation (horizontal or portrait) toggles fullscreen on and off in a krpano tour? I mean, which part of the script triggers this behaviour on mobile devices?
I am asking about this script information because I have to find a way to alter the script and achieve the same thing in a tour built in Panotour where I haven't been capable to get it working. I can only hope it'd be possible to happen this way.
I know there is still a long way for me to go before I get to the light at the other end of the tunnel and start building tours in the endless krpano coding heavens *smile*.
Thanks in advance!

2

Sonntag, 2. September 2018, 20:24

Hi,

that's the display.autofullscreen setting:
https://krpano.com/docu/xml/#display.autofullscreen

When it doesn't work in Panotour, then either the krpano version is too old (that feature was added in 1.19-pr14) or that setting is disabled (=set to false) in the xml files from Panotour.

Best regards,
Klaus

3

Sonntag, 2. September 2018, 21:25

Thanks a lot for your very helpful response, Klaus!
And thanks for all the support you provide everyone here!