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

BB Code Media Sites Google Drive or Google Document

Embed Google Document such as Word, Excel, PDF into Xenforo thread
#1
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...
 

AndreaMarucci

Well-known member
#3
Noticed that this link
Code:
<iframe src="https://drive.google.com/file/d/{$id}/preview" width="100%" height="640"></iframe>
seems incorrect but this one
Code:
<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...