We're having problems rendering PDFs with pdfjs-viewer on MACs/Safari - it's related

ReferenceError: Can't find variable: DEFAULT_URL on getViewerConfiguration - pdfJSViewer.ViewerScreen.aspx:10266 on webViewerLoad - pdfJSViewer.ViewerScreen.aspx:10270

We've done some troubleshooting and can confirm that the latest version of pdf.js - https://github.com/mozilla/pdf.js/releases/tag/v2.2.228 - works fine on Safari for MACs - tested this sample: https://mozilla.github.io/pdf.js/web/viewer.html - but the module made available on the forge probably doesn't have the latest version of pdf.js.

Do you expect to update it any time soon?

Do you have any recommendations on how to quick fix this problem?

Hi Hugo,

I have to check this. I'll update the files with the newer version to test it and if everything works, I'll upload a new version.

As soon as I have done it (I'll try to update it this weekend), I'll tell something.


Thank you very much Eduardo.

Let me know if I can help in any way.