Copy link to clipboard
Copied
Been trying to get PDF embedding to work, sample is fine but just cannot do it with a test PDF
Copy link to clipboard
Copied
Please share your code
Copy link to clipboard
Copied
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
I tried that first but thought it may have to be on Document Cloud when it didn't work
Copy link to clipboard
Copied
The default share links from dropbox don't work for the same reason that PDF files in Document Cloud don't work. The CodePen has a function called directLinkFromDropboxLink(). This function modifies the share link to a direct link. Try using Dropbox again but with my code sample.
Copy link to clipboard
Copied
Thanks, Is the clientId from Document Cloud or Dropbox?
Copy link to clipboard
Copied
Not usually having to get involved in coding... A tad rusty!!!
Copy link to clipboard
Copied
The clientID is for CodePen. Create your credential for the domain hosting your HTML, not the PDF.