Adobe PDF Embed API Amp post | Community
Skip to main content
October 10, 2021
Question

Adobe PDF Embed API Amp post

  • October 10, 2021
  • 1 reply
  • 809 views

Hi

How to uses Adobe PDF Embed API AMP POST

  Adobe PDF Embed API  not working AMP POST

How to fix in this problem please tell me

My website

 

I am using in this  code  

 

<div id="adobe-dc-view" style="height: 360px; width: 500px;"></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: "<YOUR_CLIENT_ID>", divId: "adobe-dc-view"});
adobeDCView.previewFile({
content:{location: {url: "https://documentcloud.adobe.com/view-sdk-demo/PDFs/Bodea Brochure.pdf"}},
metaData:{fileName: "Bodea Brochure.pdf"}
}, {embedMode: "SIZED_CONTAINER", dockPageControls: false, showDownloadPDF: false,
showPrintPDF: false, showFullScreen: false});
});
</script>

 

How to use in this code  amp post and page  please tell me Sir

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Adobe Employee
October 26, 2021

Hi!

We have a dedicated forum for the Document Services APIs which can be found here: https://community.adobe.com/t5/document-services-apis/bd-p/Document-Cloud-SDK?page=1&sort=latest_rep...

The team that monitors that forum will be better able to help resolve this issue