Sie sind nicht angemeldet.

1

Sonntag, 7. Februar 2016, 17:21

devices="desktop.and.tablet" not working

Hi,

I have a <layer>.

When I type

Quellcode

1
<layer devices="desktop">



It does only display on desktop PC, as expected.

But when I type

Quellcode

1
<layer devices="desktop.and.tablet">




Nothing display at all. Also doesn't work with


Quellcode

1
<layer devices="desktop+tablet">




I took that from the documentation (http://krpano.com/docu/xml/#devices) and I don't get why id doesn't work.


I'm using krpano 1.18


Any idea ?




Beiträge: 1 117

Wohnort: Poland, Europe

Beruf: krpano developer : virtual tours : the cms4vr owner

  • Nachricht senden

2

Sonntag, 7. Februar 2016, 17:56

Hi

desktop.and.tablet = Such a condition will never happen.

try
desktop.or.tablet
Piotr
Your own professional, online cloud tool for creating virtual tours - www.cms4vr.com

facebook page :: youtube :: wiki.cms4vr.com

cms4vr team *thumbsup*

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

3

Sonntag, 7. Februar 2016, 18:58

desktop.and.tablet = Such a condition will never happen.

True. Microsoft book can be a tablet, but it does not identify itself uniquely. Kind of annoying since you can't detect it and choose between normal rotation or gyro.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

4

Sonntag, 7. Februar 2016, 21:03

Hi,

Of course it should be

devices="desktop|tablet"

Or even better

devices="normal"

Hope it helps
Tuur *thumbsup*

5

Montag, 8. Februar 2016, 00:12

Hoow yes, I didn't realized that "AND" was exclusive, silly me. Seems so obvious once you explain it. Thanks everyone ! *thumbsup*

Devices = "normal" doesn't seems to work though, the layer doesn't display when I use that.

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

7

Montag, 8. Februar 2016, 09:50

achsoo, thank you !