Embedding PDF Files


Well-known member
I am looking for a way to convert a PDF Link to an embed code powered by Google Docs Viewer.

Essentially... Looking for this:

User posts a PDF file link:


And it is generated as:

<iframe src="http://docs.google.com/viewer?url=http%3A%2F%2Fwww.glencoe.com%2Fsec%2Fliterature%2Flitlibrary%2Fpdf%2Ftom_sawyer.pdf&embedded=true" width="600" height="780" style="border: none;"></iframe>
PS: I understand issues related to hotlinking. But this is sort of for a personal project. We do plan to use Scribd. But this is something that would be very nice.

Jake Bunce

XenForo moderator
Staff member
I like this idea. But there is no feature in the software to allow you to set this up.

This is possible with an addon. If you are a programmer then you can post in the Development Questions forum for help with this. Or post an Add-on Request and some one may be able to write this for you.