Sie sind nicht angemeldet.

1

Donnerstag, 21. November 2013, 03:11

iframe embeding in Android4.x

Hello.

In Android4.x browser, iframe embeded KRPano viewer(html5) doesn't work correctly.
I think it rendered as fullscreen size inside the frame even iframe width/height is smaller than fullscreen.
( When I changed the size of iframe to fullscreen, it works good. )

Is there any way to use iframe embeding with Android4.x?

Thank you,

2

Dienstag, 26. November 2013, 18:34

Hi,

what Android browser?
And what viewport meta settings were used in the surrounding webpage?

Best regards,
Klaus

3

Donnerstag, 28. November 2013, 08:05

Hi Klaus,
Thank you for your reply.
what Android browser?

It's a default web browser of Android4.x. ( also included in official Android emulator )
Incidentally Chrome works fine.

And what viewport meta settings were used in the surrounding webpage?

the viewport-settings were following,

[ParentPage]
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />

[IframedPage( KRPano Viewer Container )]
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />

Could you please tell me the solution.

4

Montag, 9. Dezember 2013, 08:50

Hi,

first note - a iframe can't have a viewport, this settings will be ignored by the browser.
Only the outer frame viewport settings will be respected.

Regarding the problem - can you please provide a link where the example can be seen.

Best regards,
Klaus