How to refer adobe main.js from local folder instead of cloud

New Here ,
Jan 18, 2022 Jan 18, 2022

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?

 

Views

65

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 17, 2022 Feb 17, 2022

Copy link to clipboard

Copied

LATEST

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.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources