Skip to main content
Known Participant
Mar 17, 2021 2:26 PM UTC
Question

PDf embed API full screen mode issue

Hello,

I have just tested the PDF file embed via APi on a basic wordpress page.
I can't display the PDF in fullscreen.

Do you have any idea of the problem?

    This topic is closed to new replies. Start a new post to keep the conversation going.

    5 replies

    Joel Geraci
    Community Expert
    Community Expert
    Mar 17, 2021 3:45 PM UTC

    You haven't set the height of the element that you are loading the embedded view into. Also, there is no FULL_SCREEN embed mode. You might be thinking of FULL_WINDOW which will display the PDF by filling the element height and width with the viewer. Alternatively, you can use LIGHT_BOX mode to display the PDF from a click, in that case, the view will open to the full browser window and overlay your page. 

     

    Also, when the SIZED_CONTAINER embed mode is used, a full screen button become available in the view UI. Pressing it will take make the viewer display in full screen.

    Translate
    Known Participant
    Mar 17, 2021 4:34 PM UTC

    Thank you so much Joel, it's clear to me now, I was able to change the display mode following your recommendations.

    Translate
    Joel Geraci
    Community Expert
    Community Expert
    Mar 17, 2021 6:06 PM UTC

    Excellent. If it's a public facing site, I'd love to see what you've done.

    Translate