Skip to main content

Sam Bretzmann

Embedding a Google Drive Video into WordPress

Step 1: Access the Video in Google Drive

1. Navigate to your Google Drive.

2. Locate the video you wish to embed.

Step 2: Adjust Sharing Settings

1. Right-click on the video and select Share.

2. In the sharing settings:

• Set the sharing option to Anyone with the link.

• Ensure the access level is set to Editor (Viewer may work but Editor is recommended).

A screenshot of the Google Drive sharing settings

Step 3: Open the Video in a New Window

1. Double-click the video to open it in Google Drive.

2. Click the three-dot menu in the top-right corner of the video player.

3. Select Open in new window. This will open the video in a standalone window.

Step 4: Get the Embed Code

1. In the standalone window, click the three-dot menu again.

2. Select Embed item from the dropdown menu.

Google Drive Video Embed option

3. Copy the iframe embed code provided.

4. Click OK to close the embed dialog.

Google Drive Embed iframe code

Step 5: Embed the Video in WordPress

1. Log into your WordPress site and navigate to the page or post where you want to embed the video.

2. Add a Custom HTML Block:

• In the WordPress editor, click the Add Block (+) button.

• Search for and select Custom HTML.

3. Paste the copied iframe code into the Custom HTML block.

Custom HTML block in WordPress

Step 6: Preview and Publish

1. Preview the post or page:

• Click Preview to ensure the video appears correctly.

2. Publish the post or page:

• Click Publish and confirm.

Step 7: Verify the Embedded Video

1. View the published page or post.

2. Ensure the video is:

• Visible on the page.

• Playable directly within the WordPress page or post.

Notes:

• Ensure the video remains accessible in Google Drive for viewers.

• If issues arise, recheck the sharing permissions in Google Drive.

View all of our WordPress Guides here.

How to Embed a Google Drive Video Into WordPress blog header image