Skip to main content
Known Participant
March 17, 2021
Question

PDf embed API full screen mode issue

  • March 17, 2021
  • 1 reply
  • 3826 views

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 has been closed for replies.

    1 reply

    Joel Geraci
    Community Expert
    March 17, 2021

    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.

    Known Participant
    March 17, 2021

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

    Joel Geraci
    Community Expert
    March 17, 2021

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