Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

Community Beginner ,
Jan 18, 2022 Jan 18, 2022

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?

 

279
Translate
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
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.

Translate
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