Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to view on chrome print and download pdf using iPhone/iPad #60

Open
Omkar-S-Pawar opened this issue Apr 10, 2024 · 0 comments
Open

Comments

@Omkar-S-Pawar
Copy link

Omkar-S-Pawar commented Apr 10, 2024

Unable to view the print and download buttons on Chrome using iPhone/iPad.

<!-- /.panel-heading -->
<div class="panel-body">
   <div id="renderPDF">
       <div id="adobe-dc-view" style="width: 100%;"></div>
       <script src="https://documentcloud.adobe.com/view-sdk/main.js"></script>
   </div>
</div>
<!-- /.panel-body -->

<script type="text/javascript">
   document.addEventListener("adobe_dc_view_sdk.ready", function () {
       var adobeDCView = new AdobeDC.View({ clientId: "<CLIENT_ID>", divId: "adobe-dc-view" });
       
       adobeDCView.previewFile({
           content: { location: { url: "example.pdf" } },
           metaData: { fileName: "example" }
       }, { embedMode: "IN_LINE", showDownloadPDF: true, showPrintPDF: true });
   });
</script>

print

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant