PDFjs Express not working in Firefox


PDFJSExpress can’t worked on Firefox, It returns the error “NS_ERROR_FAILURE”. Is this the reason behind this issues?
PDFJSExpress working fine in Google Chrome. Please provide suggestion so we can solve on our end.

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Hey there,

It looks like you are using Express inside a modal - are you setting display: none on that modal by chance? Firefox has a bug where setting display:none on an iframe or an iframes parent breaks the contents of that iframe.

To work around this bug you can instead set the element to visibility: hidden or height: 0; width: 0; .


Thank you for your reply. Loaded PDFJS in ifram and it has worked of us.

1 Like