Setting wmode to transparent affects mouse interaction

  • We have embedded the krpano viewer in our HTML app and because we want to place other HTML elements on top, we set the wmode=transparent. However, with this, the mouse interaction is practically not-usable. It is very sluggish. Is this a known issue? Is there a work-around?

    Thanks.

  • Hi,

    please see here:
    https://krpano.com/docu/html/#wmode

    Quote

    transparent - Makes the Flashplayer background transparent to allow seeing html elements behind the Flashplayer and additionally also allow other html elements to overlap the Flashplayer (even more slower rendering performance).

    Roughly explained it works that way with wmode=transparent - the Flashplayer no longer draws its content directly to the screen - instead, it now draws to a 'temporary image' and this image will be given to the browser where the browser mixes it with all the other html content - and once this is all done, the final html page will be shown on the screen.

    And this is slower of course than the direct way.

    Workarounds are not possible here of course, this is a technical principle of the Flashplayer and the Browsers.
    A way to avoid wmode=transparent slowdowns would be not using it and doing all inside krpano...

    Best regards,
    klaus

Participate now!

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