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

Saturday, May 9th 2020, 11:21am

Iframe does not rendered on iOS devices (ipone & ipad)

I really like Krpano. Started to test it and learn it.
I encounted a strange issue. When you use ios device the iframe that you create does not rendered on those devices. It does rendered on Android and even safari browser, but not on ipad and iphone.

Live example: https://www.one-v.co.il/test/

This is how it looks on IOS: https://www.one-v.co.il/test/ios.jpg
This is how it looks on Desktop: https://www.one-v.co.il/test/desktop.jpg

I connected my phone to my mac and tried to debug and noticed that iframe element does not rendered at all.


I hope this information will help to identify the issue.

Thank you

2

Monday, May 11th 2020, 10:36am

Hi,

check your xml:
https://www.one-v.co.il/test/testdata/test.xml

For some reasons you have iOS checks in your 'showpanospotsaction' and 'hidepanospotsaction' actions:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
 <action name="hidepanowebcontentspots" devices="no-ios">
    set(hotspot[spotwebcontent14].visible, false);
  </action>
  <action name="showpanowebcontentspots" devices="no-ios">
    set(hotspot[spotwebcontent14].visible, true);
  </action>

  <action name="showpanospotsaction">
    if (tour_displayspots,
    ifnot(device.ios,
      showpanowebcontentspots();
    );
    );
  </action>
  <action name="hidepanospotsaction">
    ifnot(device.ios,
      hidepanowebcontentspots();
    );
  </action>


Remove all the the devices="no-ios" and ifnot(device.ios, parts.

Best regards,
Klaus

3

Monday, May 11th 2020, 3:41pm

It worked! I use kolor panopour 2.5.14, I don't understand why it's adding it

Thank you very much!

This post has been edited 1 times, last edit by "arnold.si" (May 11th 2020, 6:19pm)


4

Monday, May 25th 2020, 5:25pm

Hi,

this was a predefined xml-templates from Panotour Pro.
For some reason it didn't allow/use the web-content hotspots for iOS.

In the new 1.20.7 version these templates are updated now and iOS usage is possible:
krpano 1.20.7

Best regards,
Klaus