PDF Embed API: Embedding a Document hosted on Adobe Document Cloud
Copy link to clipboard
Copied
I'm running into issues embedded PDF documents hosted on adobe document cloud.
The URL used is the share URL provided by document cloud.
On initial load the document says "Opening Document 100%", however, the rendered content gives a "File Preview Error" and a reload button which cycles back through the same errors above.
Is it not possible to render a PDF with the API that's hosted on adobe cloud?
From Devtools:
DevTools failed to load SourceMap: Could not load content for https://documentcloud.adobe.com/view-sdk/2.13.1_2.0.0-9ef32cc/private/dc-app-launcher.js.map: HTTP error: status code 403, net::ERR_HTTP_RESPONSE_CODE_FAILURE
Copy link to clipboard
Copied
The links to files on Adobe Document Cloud are links to the Document Cloud Viewer, not to the PDf files themselves. You'll need to host your files somewhere else. I have an example of hosting files on Dropbox at this CodePen.
Copy link to clipboard
Copied
Got it. Thanks for clarifying!
Do you know if this is something in the dev roadmap for either the API or Document Cloud? It would be nice to have it under one roof.
Thanks again for the dropbox sample. We'll go this route for now.
Copy link to clipboard
Copied
I don't have insight into the roadmap. Sorry.
Copy link to clipboard
Copied
Is it possible to embed files hosted on Microsoft OneDrive?
Copy link to clipboard
Copied
Never mind! I figure out how to host the file on my own website.

