Menu

iipmooviewer/openseadragon fullscreen problems mobile/iframe

DGSL
2015-10-11
2015-10-15
  • DGSL

    DGSL - 2015-10-11

    Hello. Two questions about iipmooviewer and openseadragon full screen mode:

    (1) MOBILE DEVICES FULL SCREEN

    As there is no keyboard, is there anyway to request fullscreen mode in iipmooviewer?
    (calling some javascript function, or so)

    Openseadragon example has a fullscreen button, but it has not effect (other than hiding the credits information) when I click it within ipad/android.
    http://merovingio.c2rmf.cnrs.fr/iipimage/openseadragon/

    Perhaps mobile browsers do not permit fullscreen at all?

    (2) IFRAME FULLSCREEN PROBLEM

    I have an ipmooviewer implementation that is based on this example:
    http://merovingio.c2rmf.cnrs.fr/iipimage/iipmooviewer/nebula.html

    When I press "F" key, it displays in full screen.

    But if I load it within another page using an ifframe, "F" key doesn't work
    (even when the focus is inside the frame since I've been zooming using mouse).

    Is this what should be expected? Perhaps because of being inside the iframe it just can expand to the whole container element of the iframe, or something like that?

     
  • Ruven

    Ruven - 2015-10-15

    (1) MOBILE DEVICES FULL SCREEN

    There is the IIPMooViewer toggleFullScreen() function you can use. I'm not sure how well the HTML5 fullscreen is supported on mobile, however.

    IFRAME FULLSCREEN PROBLEM

    Yes, I think you're right that real fullscreen mode isn't possible in an iframe. So, if you really need this functionality, you'll have to use iipmooviewer within a div rather than an iframe.

     

Anonymous
Anonymous

Add attachments
Cancel