Screen is sinking with pr6 on iOS9 in landscape view

  • Hi,

    This is a serious problem.
    Open the following url with iOS9 in landscape view.
    http://52.53.197.107/krpano.html

    The page's source is simple as follows. Just embedding krpano demo site in iframe.


    <iframe src="https://krpano.com/tours/bkeller/?html5=prefer" width="100%" height="100%" frameborder="0">
    </iframe>

    The scene will be sinking as though it is going towards portrait view.

    iOS 8 has no problem.
    Pr5 also has no problem.
    Only in case of iOS 9 and pr6 has the problem.

    Is there any parameter to fix this?
    I already tested our product with pr6 and don't want to test with pr5 again.

    Thanks in advance.

  • Hi,

    sorry, but I don't see a krpano related problem...

    The special iPhone full-page-coverage is a web-design thing. You would need to handle that yourself in your outer page (viewport meta tags, html and body css, ...)!

    Only when you embed krpano directly (without iframe) as full-page-element and use the default krpano html template, then krpano is able to handle the iPhone behaviors.

    Best regards,
    Klaus

  • Hi,

    The reason I think krpano related problem is that before pr6 it does not occur.

    I tried to change viewport in parent or inside iframe but with no luck.
    I changed body height of pano html less than iframe height, the problem did not occur. But this is not a proper solution. We cannot predict what height value of iframes users are going to use.

  • Hi,

    you're right, I have checked this again and yes this is a newer problem.

    The reason is the workaround for the iOS 9 landscape fullscreen mode bug. The workaround doesn't check if the viewer is embedded into an iframe.

    This will be fixed in the next release.

    Best regards,
    Klaus

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!