Embed PDF not working windows10 firefox65 32bit
It looks like windows10 firefox65 32bit displaying embedded PDFs does not work. there's no error in the console. you can test it here: https://pdfobject.com/
works fine in windows 7 32 and 64 bit, and windows 64 bit. this is causing huge issues with clients, please investigate urgently.
Alle antwurden (9)
So what do you mean embedded pdf does not work? What is the error screenshot showing? I clicked on the link and it opened without problem so what was the problem that was to be showing?
literally nothing happens, the frame where it should be remains blank, there are no console errors, no error messages nothing.
did you try that exact version on windows10?
No problems here with the test site you posted. I do see the PDF file in the frame.
Do you see this object in the Inspector?
Hi all, thanks for helping. Before answering me can you please confirm that you're testing it using windows 10 firefox 65 32bit? The issue is ONLY on this version of windows and firefox, which is why it's such a pain!
Please see attached the screenshot
Does this only happen with embedded PDF files or also if you open this PDF file in a separate tab?
doesn't work for neither :(
how do we get this escalated to the dev team? it's a serious issue that causes huge blockers for end users
Hey everyone, can someone help please? This is very problematic and I am not sure how else I can escalate this issue.
Hi robtrip, I don't have 32-bit Firefox 65 to test in.
Is the problem system's PDF handling set to "Preview in Firefox" on the Options page? If it has a different setting, then the box will remain blank as in your screenshot.
See: View PDF files using Firefox’s built-in viewer
I'm not sure how the PDFObject script determines that it can embed or not embed in Firefox. It doesn't seem to account for this problem. Technically, the <embed> tag doesn't take fallback content, but if you shove some in, Firefox will show it. So one workaround that works in a simple test across Firefox/Edge/Chrome on 64-bit Windows would be:
Standard code:
// Embed the PDF PDFObject.embed('pdf/sample-3pp.pdf', '#example1');
Workaround code:
function PDFwithFallback(url, target){ var embedNode = PDFObject.embed(url, target); if (embedNode.nodeName == 'EMBED'){ var fallback = document.createElement('p'); fallback.innerHTML='Your browser does not support embedding this PDF. You can open it using <a href="' + embedNode.src + '" target="_blank">this link</a>.'; embedNode.appendChild(fallback); } } // Embed the PDF PDFwithFallback('pdf/sample-3pp.pdf', '#example1');
(My test process was to load the page, F12 to open the developer tools, remove the embed using the Inspector, then execute the workaround code using the Console.)