Google Docs allows you to share files available on Google Docs by embedding it into a document viewer. This feature is also available for documents which are not uploaded to Google Docs, but hosted elsewhere. All you need to do is to make sure the document is available online. This embeddable document viewer works with PDF and PowerPoint files only.
You need to add only few lines of code to have the document viewer on your website.
<iframe src="http://docs.google.com/gview?url=https://www.nirmaltv.com/images/Sample-Power-Point3.ppt&embedded=true" style="width:600px; height:500px;" frameborder="0"></iframe>
Do not forget to replace the text in bold using the URL of the file you want to embed. As mentioned before, this will work only with PDF and PPT files.
Thanks to Google Operating System for this tip.