Skip to main content
Participant
January 18, 2022
Question

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

  • January 18, 2022
  • 1 reply
  • 326 views

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?

 

    This topic has been closed for replies.

    1 reply

    Joel Geraci
    Community Expert
    Community Expert
    February 18, 2022

    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.