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,

  • 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.

  • 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

Participate now!

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