Hi! Everyone, hope you all are fine.
Toda in this post I will tell you how you can embed any PDF document using Google Docs viewer. Before I told you how you can embed PDF files in using direct iframe and and embed tag but it seems that now it is not working for Google Chrome that well. So I here is one more solution to embed PDF file using Google Docs viewer.
- Get the link of your PDF file
- For example I will take this (http://labs.google.com/papers/bigtable-osdi06.pdf) PDF file URL
- Now copy the below code
- 4. Change the
YOUR-PDF-URL
with your PDF file URL - Now pate the code where ever you want to display your PDF
<iframe src="http://docs.google.com/gview?url=YOUR-PDF-URL&embedded=true" style="width:516px; height:616px;"></iframe>
Here is a demo for you all
Nice article but where to host the pdf files…
If you know any plz drop the links…
Thank you..!
Thank you!!!!!!!