android and fullscreen

  • Hi,

    the fullscreen button makes sense! *wink*

    The only problem is that Android Chrome has changed its default behavior and doesn't switch to a 'real' fullscreen anymore.
    E.g. compare to Android Firefox, that hasn't that problem.

    But the next krpano release also addresses that problem - for Chrome versions older than 74 it will use a hack (an old prefixed API) for fullscreen that still provides a 'full'-fullscreen mode, and for Chrome versions 74 and up it uses a new introduced fullscreen API that allows using the 'full'-fullscreen mode again.


    Zitat

    ps. it seems that if you switch to landscape fullscreen gets activated automatically

    That's based on another special Android Chrome fullscreen API and can be enabled or disabling using that setting:
    https://krpano.com/docu/xml/#display.autofullscreen

    Best regards,
    Klaus

  • something like display.autofullscreen but also for portrait


    Entering fullscreen mode always requires a user-gesture or with the special Chrome API a 'rotation to landscape'.

    You could also use the global onmousedown or onclick events to switch to fullscreen mode but that can be also a bit annoying when it happens constantly...

    Best regards,
    Klaus

Jetzt mitmachen!

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