PDA

View Full Version : BB Code Media Site support for Google Documents



snake
30th Aug 2016, 17:35
BB Code Media Site support for Google Documents

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:

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:
1dgkXZbQIeQX_VauDwG-Bp-n2iyN16eR-aJnXZY0CW6c