embedding PDF from document cloud using view sdk., but pdf fails to load in my website
So I have got my domain setup with a client ID, used sample code from the quickstart copy-it-run-it page. The only thing I am changing in the code (that works just fine from my local machine with the sample Bodea Brochure or Benchmark pdf files) is the URL to my document cloud PDF, the pdf fileName, and the clientId (api key).
{location: {url: "https://documentcloud.adobe.com/link/track?uri=urn:aaid:scds:US:a71b7f93-830a-4a23-ba33-246ae31db4e7/EmployeeHandbook_compressed.pdf"}},
metaData: {fileName: "EmployeeHandbook_compressed.pdf"}Note that in the above sample - for the shareable link I generate in document cloud, it doesn't actually have a /EmployeeHandbook_compressed.pdf at the end, but from what I have seen it looks like that is supposed to be attached to the end.
Got my code on my website, and it looks like it will bring the adobe viewer up, but instead it gives me an adobe error like file preview error or failed to load. It will sit with the spinning blue circle and say Opening Document 0% and then pepper in failed to load previer errors.
The PDF I am using is large, BUT, I tried it all with a 3KB super simple PDF and got the same results.
Not sure where to go here, so any help is appreciated, also I am pretty inexerprienced so the more you spell it out for me, the more I will shower praises upon you!
