In-page embedded viewable PDF documents without a PDF reader

Here is a neat trick which I’ve found: using a tool by Google named Docs Viewer you can embed PDF (Or office and Postscript) files into a webpage to be viewed on screen, even without a PDF reader plugin installed in the user’s browser.

Simply use the snippet below and change where your_document_here is mentioned twice with a full URL, e.g.

<object data="your_document_here" type="application/pdf" style="width:100%; height:700px">
<iframe src=""></iframe>

Here is an article on Google’s System blog for more info:

There are no comments, be the first. Use the form below to add your comment

Post a Comment