How do I find the list of compatible browsers for PDF.js? #19253
Unanswered
harishfalco
asked this question in
Q&A
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
`
const pdfjsLib = window.pdfjsLib;
pdfjsLib.GlobalWorkerOptions.workerSrc 'https://cdnjs.cloudflare.com/ajax/libs/pdf.js/${window.pdfjsLib.version}/pdf.worker.min.mjs';
`
Questions:
I'm using 4.9.155 version of PDF.js . Will this work on all browsers ? If not what file (link) should I use to support all browsers or is this enough?
Links used:
https://cdnjs.cloudflare.com/ajax/libs/pdf.js/4.9.155/pdf.min.mjs
https://cdnjs.cloudflare.com/ajax/libs/pdf.js/4.9.155/pdf.worker.min.mjs
Beta Was this translation helpful? Give feedback.
All reactions