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

Unmaintained BB Code Media Site support for Google Documents 1.0

Allows embedding of Google Documents by adding support under XenForo's BB Code Media Site Manager

  1. Saeed

    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:

    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.png
     
    chrishill, ddmmh and Digital Doctor like this.
  2. majesty95

    majesty95 Active Member

    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?
     
  3. majesty95

    majesty95 Active Member

    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?
     
  4. Rob

    Rob Well-Known Member

    Basically getting the same error.
     

Share This Page