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

Natao arisiva ity resaka mitohy ity. Mametraha fanontaniana azafady raha mila fanampiana.

embeded pdfs work in chrome but not firefox

  • 1 valiny
  • 1 manana an'ity olana ity
  • 12 views
  • Valiny farany nomen'i cor-el

more options

in my html code I use <embed src="EnglishFiles/<?php echo $Fname; ?>#toolbar=0&navpanes=0&view=fit" type="application/pdf" width="100%" height="800px"> and it works great in Chrome, and it used to work in Firefox, but something changed in Firefox, maybe that most recent update? That code still works in Chrome but not in FF 70.0.1(64) What happens when I click on the link in FF is absolutely nothing, no response of any kind. In Chrome the pdf loads in the subwindow as expected. I have restarted in safe mode, same results, manually disabled all plugins, same results.

in my html code I use <embed src="EnglishFiles/<?php echo $Fname; ?>#toolbar=0&navpanes=0&view=fit" type="application/pdf" width="100%" height="800px" /> and it works great in Chrome, and it used to work in Firefox, but something changed in Firefox, maybe that most recent update? That code still works in Chrome but not in FF 70.0.1(64) What happens when I click on the link in FF is absolutely nothing, no response of any kind. In Chrome the pdf loads in the subwindow as expected. I have restarted in safe mode, same results, manually disabled all plugins, same results.

All Replies (1)

more options

What code gets generated and is send by the server after the PHP code has been processed ?

Is the file send by the server as "application/pdf" ?

Any messages in the Web Console related to this issue?

Did you check the embed container this in the Inspector?

Note that width::100% only works properly when all parent containers have a width set, otherwise 100% of null is null and you won't see anything.

Can you post a link to a publicly accessible page (i.e. no authentication or signing on required)?