Uploading Adobe DC View SDK html code to Weebly website doesn't work
Hi there,
When I cut and paste the html code from the Demo Site and embed this into my Weebly website, it doesn't work at all.
I have tried to embed the basic Bodeo Brochure sample html code you have on the Demo site (see below):
<div id="adobe-dc-view"></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"} }, {}); }); </script>
This didn't work. I then included my Client ID in between the " " marks, and pointed to a Google Drive url pdf document, and changed the fileName in the html as instructed. This didn't work either. I thought pointing to Google Drive might be the problem. So I pointed the url to a basic uploaded pdf url. This didn't work as well.
In all cases, when I embed the html code onto the Weebly website, it shows a 1 cm high white box, with an occasional blue rotating circle, that looks like its going into cardiac arrest, trying to upload the document, but never does.
In searching on the web, I could also find virtually no help regarding this product, and no specfic clear and simple instructions on Adobe on how to use this product. A Youtube video demonstrating how to use this would have been a great help ... but again there was nothing.
If any Abode professionals have any suggestions or help I would really appreciate it. Many thanks ...
