PDF.js is not working on Safari mac #19252
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
-
4.9.155 version of PDF.JS is not working on Safari MAC. It is not displaying the PDF file on screen.
Code
`
const pdfjsLib = window.pdfjsLib;
PDF.JS version 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
Operating system and its version
MacOS , version : 13.2.1 (22D68)
Error on console
Previous research
I found this slackoverflow thread , which suggested using compatible.js file. However , I could not find the compatible.js file for version 4.9.155 on CDNs. How do I resolve it?
Beta Was this translation helpful? Give feedback.
All reactions