Prohledat stránky podpory

Vyhněte se podvodům. Za účelem poskytnutí podpory vás nikdy nežádáme, abyste zavolali nebo poslali SMS na nějaké telefonní číslo nebo abyste sdělili své osobní údaje. Jakékoliv podezřelé chování nám prosím nahlaste pomocí odkazu „Nahlásit zneužití“.

Zjistit více

embeded pdfs work in chrome but not firefox

  • 1 odpověď
  • 1 má tento problém
  • 12 zobrazení
  • Poslední odpověď od 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.

Všechny odpovědi (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)?