Sie sind nicht angemeldet.

1

Dienstag, 29. November 2011, 16:11

Unsupported functionalties on mobile devices

Hi,

Unsupported functionalties, like xml tags and variables, if present for use on desktops (like plugin/hotspot[].onover or plugin/hotspot[].onhover or showtext), will be just ignored, without preventing operations on mobile devices, or they have to be removed?
If so, what's the best practice:

1- separate specific xml for mobile devices?
2- duplicate plugins and actions on the main xml removing unsupported functionalties and adding the "device" attribute?

Regards,
Marco

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

2

Dienstag, 29. November 2011, 18:30

There's no harm in keeping unsupported attributes.. but it's often better to replace actions/plugins with more suitable actions and attributes.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

3

Dienstag, 29. November 2011, 20:54

Sacha, thanks.
So you vote for option #2?

Regards,
Marco

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

4

Dienstag, 29. November 2011, 20:59

I have a main xml of shared code, and seperate xml for device dependent xml.
I find that krpano includes process slower so I do it dynamically with php.
More xmls is more to keep track of, if it's just minor changes you can run a function that replaces attributes based on device, or use the onloaded portion of each plugin/hotspot
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour