Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Embed PDF not working windows10 firefox65 32bit

  • 9 replies
  • 2 have this problem
  • Last reply by jscher2000

more options

It looks like windows10 firefox65 32bit displaying embedded PDFs does not work. there's no error in the console. you can test it here:

works fine in windows 7 32 and 64 bit, and windows 64 bit. this is causing huge issues with clients, please investigate urgently.

All Replies (9)

more options

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?

more options

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?

more options

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?

more options

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

more options

Does this only happen with embedded PDF files or also if you open this PDF file in a separate tab?

more options

doesn't work for neither :(

more options

how do we get this escalated to the dev team? it's a serious issue that causes huge blockers for end users

more options

Hey everyone, can someone help please? This is very problematic and I am not sure how else I can escalate this issue.

more options

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 in Firefox or choose another 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>.';
// 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.)