Copy link to clipboard
Copied
Why do I get this message and how can I rectify?
Copy link to clipboard
Copied
Dreamweaver is not a web browser. The Embed API probably needs to be hosted on a live server and viewed from a real browser to work.
Also for best results, you should define a local site folder in DW by going to Site > New Site... designate a folder for your site files and assets on the primary hard drive. Example, C:\MyTestSite\
Copy link to clipboard
Copied
I understand but Dreamweaver should show the PDF. I have created a new site on my Mac and saved index.html there but I get the same error although the PDF did momentarily appear before the error message appeared.
Copy link to clipboard
Copied
You are not authorised to use the API as long as you do not supply a Client ID.
var adobeDCView = new AdobeDC.View({clientId: "<YOUR_CLIENT_ID>", divId: "adobe-dc-view"});
As a sidenote: You need to set the local site up so that you do not get file:// as the domain.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
I doubt that localhost will suffice. But you are better off asking the experts at
Document Services APIs - Adobe Support Community