Mobile app version of vmapp.org
Login or Join
Gretchen104

: How to display an HREF PDF in an object element in Chrome? I am having an issue with viewing a PDF in an object element in Chrome. The initial PDF loads, but when I go to a different HTML,

@Gretchen104

Posted in: #GoogleChrome #Html5

I am having an issue with viewing a PDF in an object element in Chrome. The initial PDF loads, but when I go to a different HTML, then HREF, it will not display. I 'think' I am getting the following error because Chrome uses an external viewer and thinks I am crossing domains. I do not get this error in FF or IE.


Refused to display 'https://docs.google.com/viewer?url=http%3A%2F%2Fleaderpaper.com%2Fleader%2Fspecs%2F10-openend.pdf' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.


My current workaround is to give the HREF a _blank target attribute which opens in a new tab. Have I done all I can??

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Gretchen104

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme