gyroscope and prettyPhoto

  • Hi,
    I'm trying to open a page with a pano inside a lightbox using prettyphoto. When it's seen in an iPad with the gyroscope activated, the whole image rotates 90º. I mean when you have the iPad perpendicular to the floor, you see the nadir at the left and zenit to the right.

    If you see the same pano without the lightbox, it all works fine.

    Does anybody knows how to solve it... ?

    Thanks!

    Jaume

  • Hi,

    first - make sure that your krpano and gyro is up-to-date,

    second - when using the pano in an iframe on an other domain, than it is technically not possible aynmore to get informations about the device orientation - the orientation was only stored in the top frame, but for security reasons a script in a frame from an other domain can't access that informations from that frame.

    best regards,
    Klaus

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!