How to Embed a Google Drive Video in Wordpress Easily

I couldn't find a tutorial online, or at least easily, so once I pieced it together myself I decided to make this.

Step 1: Upload Your Video to Google Drive.

In the top left, under the Drive triangle, click New>File Upload and choose your video. Depending on the length and file size, this could take a few minutes.

Step 2: Let It "Download".

Even after it says that it's done uploading in the bottom right, the video still needs to download from the server. This will take another few minutes.

Step 3: The Code.

It's a very simple code you copy and paste into Wordpress. Here's the format:

[googleapps domain="drive" dir="file/d/we will get this in the next step/preview" query="" width="640" height="480" /]

Include the brackets and all quotations.

Step 4: Get the 'dir'.

The only part you need to add is the 'dir' location. Once your video has finished downloading to Google Drive, click on it, then click the three dots in the top right and click "share". There will be a link to copy and paste. For example:

"https://drive.google.com/open?id=1kFcofP03VrxSPBaiQVDpSJn8B1SNlVUP"

The only part we want is the part after ?id=. In this case, it's 1kFcofP03VrxSPBaiQVDpSJn8B1SNlVUP. Paste that into the code I had in the step before.

Step 5: Insert the 'dir'.

You're done! Your code should work.

Here's an example of a working code.

[googleapps domain="drive" dir="file/d/1kFcofP03VrxSPBaiQVDpSJn8B1SNlVUP/preview" query="" width="640" height="480" /]

Share

    Recommendations

    • Trash to Treasure

      Trash to Treasure
    • Tape Contest

      Tape Contest
    • Arduino Contest 2019

      Arduino Contest 2019

    Discussions

    0
    None
    randofo

    6 weeks ago

    Hello there!

    We're glad you want to share something with the Instructables community!

    And we’re here to help you out.

    In order to be published live on the site and be eligible to enter a contest, an Instructable must consist of the following things:

    - Multiple written steps showing how you made your project

    - Photos in each step

    - Only your own original images

    Check out our free online class that walks you through how to write an Instructable: https://www.instructables.com/class/How-to-Write-an-Instructable-Class/

    Beyond making your Instructable simply publishable, this guide (https://www.instructables.com/id/How-to-Create-a-Feature-Worthy-Instructable/) explains what is required to have your Instructables featured by our site editors. It’s very helpful, and definitely worth checking out.

    We would love to review your project again after you have made the necessary edits, and we will publish your project if it is eligible.

    If you have any questions, please feel free to ask right here or send us an email to service@instructables.com.

    Best,

    Instructables Community Manager