Skip to main content
Participant
Jan 18, 2022 1:24 PM UTC
Question

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

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 is closed to new replies. Start a new post to keep the conversation going.

    1 reply

    Joel Geraci
    Community Expert
    Community Expert
    Feb 18, 2022 12:12 AM UTC

    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