JavaScript error occurs when embedding panorama at 300px x 150px

  • Hi! Everyone!

    When I embed panorama div tag at width 300px and height 150px, the error occurs and panorama dosn't show.
    Is this a kind of bug or some limitation of browser?

    ( 600px x 300px has no problem and 301px x 150px is also good.)

    Please help.

  • Hi,

    that's - right, there is indeed a bug when initially using the size 300x150 (only exactly this size and only on start).

    300x150 is the default size for a html5 canvas and the viewer on startup checks for getting a different size than the default size to initialize some values and not getting there was an unexpected behavior.

    This will be fixed in the next release.
    As workaround any other size than 300x150 (e.g. just 1px different) would do.

    Best regards,
    Klaus

Jetzt mitmachen!

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