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.

tsukada

Beginner

  • "tsukada" started this thread

Posts: 27

Location: Tokyo, Japan

Occupation: Programmer

  • Send private message

1

Friday, September 9th 2016, 7:32am

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="http://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.

2

Thursday, September 15th 2016, 10:27am

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

tsukada

Beginner

  • "tsukada" started this thread

Posts: 27

Location: Tokyo, Japan

Occupation: Programmer

  • Send private message

3

Friday, September 16th 2016, 7:46am

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.

4

Monday, September 19th 2016, 11:38am

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