Resource icon

BB Code Media Site support for Google Documents 1.0

No permission to download

Saeed

Well-known member
Saeed submitted a new resource:

BB Code Media Site support for Google Documents (version 1.0) - Allows embedding of Google Documents by adding support under XenForo's BB Code Media Site Manager

This resource / tutorial will help you add an entry for Google Documents to your BB Code Media Sites in your Admin Control Panel.

--------------------------------------------------


1. Go to your Admin Control Panel > Home > BB Code Media Sites > Add BB Code Media Site.

2. Here, enter the following information:

Media Site ID: googledocument

Site Title: Google Document

Site URL: https://docs.google.com/

Match URLs:
https://docs.google.com/document/pub?id={$id}
https://docs.google.com/document/d/{$id}/

Embed HTML:

Rich (BB code):
<iframe src="https://docs.google.com/document/pub?id={$id}&amp;embedded=true" width="100%" height="600"></iframe>

You may change the width and height to your liking (shown in the code above in blue).

3. Click "Save the BB Code Media Site".

4. To embed the document with the URL of a Google Document, click "Embed Media" and paste the URL.

5. To embed the document manually, the format would be something like this:

Code:
[media=googledocument]1dgkXZbQIeQX_VauDwG-Bp-n2iyN16eR-aJnXZY0CW6c[/media]

The result should look something like this:

GoogleDocument.webp
 
I followed all of the steps and it is not working for some reason. I show it in my control panel but it is not allowing me to paste when I try to embed media. I even tried to do it manually with the code but it does not show up. I went back and checked and everything looks good. Any reason why it wouldn't be showing up?
 
Now "Google Documents' shows up in my embed media player but I get an error saying the specified URL cannot be embedded as media. Can anyone help?
 
Top Bottom