• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
Resource icon

BB Code Media Sites Google Drive or Google Document

MOVSA submitted a new resource:

BB Code Media Sites Google Drive or Google Document - Embed Google Document such as Word, Excel, PDF into Xenforo thread

Since I need to embed a PDF file to my Xenforo Forum, I found this link related to my need http://xenforo.com/community/threads/bb-code-media-site-support-for-google-documents.31101/

However, this seems to not work anymore because maybe Google integrated Google Docs into Google Drive or changed the embed link.

This tip will give your forum an ability to embed Google Document (now it is placed in Google Drive) files such as Word, Excel, especially PDF file, etc. I haven't try other...
Read more about this resource...


Well-known member
Noticed that this link
<iframe src="https://drive.google.com/file/d/{$id}/preview" width="100%" height="640"></iframe>
seems incorrect but this one
<iframe src="https://drive.google.com/file/d/{$id}" width="100%" height="640"></iframe>
seems correct. Only problem is that the iframe is not shown...