Copy link to clipboard
Copied
Hi
I have donloaded main.js using this link https://documentcloud.adobe.com/view-sdk/main.js.
And stolred it in my project folder, If i refer this from local folder PDF is not loading and there are some errors.
Is there any way to refer js file from project folder?
Copy link to clipboard
Copied
Embed API can only be loaded from the cloud. This is unlikely to change. The errors is because main.js is just the loader there are a lot of other depensencies.