Using ,mjs file inline #18008
Unanswered
aimcosoftware
asked this question in
Q&A
Replies: 1 comment
-
You have to add support to your server for mjs files. Try one of the following.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using the .js version of pdf.js, for offline use, which is working.
I'm replacing
{pdf_js.js}
and{pdf_worker.js}
, with pdf.js and pdf_worker.js, and loading the HTMLThat doesn't work with the newer .mjs scripts, using the following doesn't work.
It does work if I load from a server with a src attribute.
Can anyone show me what I'm missing.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions