You are not logged in.

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: 770

Location: 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!