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

PDF Embed Fullscreen Option

Community Beginner ,
Sep 18, 2020 Sep 18, 2020

Copy link to clipboard

Copied

I've got the "In Line" option embedded on the page below, with "showPageControls" set to "true" but I'm not seeing the option to fullscreen the PDF.

 

Also, is there a way to remove all controls, including the Adobe branding/pagination controls?

KIe6EDGKEJ.png

https://www.tripspark.com/why-us

<div id="adobe-dc-view" style="width: 100%;">&nbsp;</div>
<script src="https://documentcloud.adobe.com/view-sdk/main.js"></script><script type="text/javascript">
    document.addEventListener("adobe_dc_view_sdk.ready", function () {
        var adobeDCView = new AdobeDC.View({
            clientId: "5238abb0fc19469882b0c9bb3027ef9a",
            divId: "adobe-dc-view"
        });
        adobeDCView.previewFile({
            content: { location: { url: "https://www.tripspark.com/resource_files/Why-TripSpark-Overview.pdf" } },
            metaData: { fileName: "Why TripSpark" }
        }, {
            embedMode: "IN_LINE",
            showDownloadPDF: false,
            showPrintPDF: false,
            showPageControls: true,
            dockPageControls: false,
            showAnnotationTools: false,
            showLeftHandPanel: false
        });
    });
</script>

 

TOPICS
PDF Embed API

Views

336

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
no replies

Have something to add?

Join the conversation
Resources