You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Wednesday, August 8th 2018, 3:26pm

How to disable webVR for android devices

Hi all,

want to disable webvr for smartphones and Tablets with android. I tried to set it within the tour.xml. (And as I don't have an android, I did it the other way round with A setting for ios.)

But
<skin_settings webvr="if(device.ios,false,true);" />
Didn’t work.

What am I doing wrong?

Tia,

Tom!

Alexey Tkachenko

Professional

Posts: 735

Location: Sevastopol, Crimea, Russian Federation

Occupation: Interpreting, Building virtual tours

  • Send private message

2

Wednesday, August 8th 2018, 3:55pm

Hi)

Try this:

Source code

1
webvr="calc: device.android ? false : true"



Read more about calc(); here https://krpano.com/docu/actions/#calc
Regards,

Alexey

3

Wednesday, August 8th 2018, 5:15pm

Hello Alexey,

Thanks, works fine.

Tom!