• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
1

PDf embed API full screen mode issue

Community Beginner ,
Mar 17, 2021 Mar 17, 2021

Copy link to clipboard

Copied

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?

Views

2.7K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 17, 2021 Mar 17, 2021

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 17, 2021 Mar 17, 2021

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 17, 2021 Mar 17, 2021

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 25, 2021 Mar 25, 2021

Copy link to clipboard

Copied

Hi Joël, the project i'm working on is not public yet, but i can send you the link privately to check if you want to see what i have done.

 

just let me know.

 

Thanks.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 27, 2021 Jul 27, 2021

Copy link to clipboard

Copied

LATEST

I've tried this on a page in my Wordpress Theme and it only shows a box with the code snippet. No PDF.
I tried Full Window, Inline and Lighbox exactly the same thing.

Do I need to use a plugin for this on Wordpress?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources