How to Embed a Google Drive Video on a Website

If you have an internal training video, a product demonstration, or a presentation saved in your Google Drive, you may want to display it directly on your website or blog. While many people upload videos to YouTube to embed them, you can actually embed a video directly from Google Drive without making it public on a video-sharing platform.

Google Drive provides a simple HTML iframe code that you can paste into almost any website builder, WordPress post, or HTML page.

In this guide, you will learn how to embed a Google Drive video onto a webpage.

Step 1: Change the Video’s Sharing Permissions

By default, files uploaded to Google Drive are private. If you try to embed a private video, your website visitors will just see an error message asking them to request access.

  1. Open Google Drive and locate the video you want to embed.
  2. Right-click on the video file and select Share.
  3. In the sharing window, look for the “General access” section at the bottom.
  4. Click the dropdown menu and change the setting from “Restricted” to Anyone with the link.
  5. Click Done.

Step 2: Generate the Embed Code

You cannot get the embed code directly from the main Drive folder view; you must open the video in its own window first.

  1. Double-click the video to open the preview player.
  2. Click the More actions icon (three vertical dots) in the top right corner.
  3. Select Open in new window. (This is a crucial step; the embed option will not appear unless the video is in a new tab).
  4. In the new window, click the More actions icon (three dots) in the top right corner again.
  5. Select Embed item… from the menu.
  6. A dialog box will appear containing the HTML iframe code. Copy this entire block of code.

Step 3: Paste the Code onto Your Website

Now that you have the code, you can place it on your site.

  • For WordPress: Open your page or post editor. Add a “Custom HTML” block and paste the code inside it.
  • For Website Builders (Wix, Squarespace): Look for an “Embed,” “HTML,” or “Code” block in your page editor and paste the iframe code there.

Once you save and publish the page, the Google Drive video player will appear, allowing your visitors to watch the video directly on your site.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.