Contactnomanakhter.com

Noman Akhter

Technology · Business · Tutorials
Blogger

How to Host a Video on Google Drive and Embed It in Blogger

YouTube is the obvious place for video, but sometimes you want a video that is not public on YouTube — a course lecture, a client demo, a family clip for a private blog. Google Drive can host the file and give you an embeddable player for free. Here is the current method.

1. Upload the video

  1. Open drive.google.com and click New → File upload.
  2. Choose your MP4 (MP4/H.264 works best; MOV and AVI also play). Wait for the upload to finish.
  3. Drive processes the video in the background. A 15-minute clip can take 5–10 minutes before it plays — this is normal.

2. Make it viewable

  1. Right-click the file → Share.
  2. Under "General access" change Restricted to Anyone with the link (Viewer).
  3. Click Done.

3. Get the embed code

  1. Double-click the video to open the preview.
  2. Click the three-dot menu (top right) → Open in new window.
  3. In the new window click the three-dot menu again → Embed item… and copy the <iframe> code.

It looks like this:

<iframe src="https://drive.google.com/file/d/FILE_ID/preview" width="640" height="360" allow="autoplay"></iframe>

4. Paste into Blogger

In the post editor switch to HTML view and paste the iframe where you want the player. For a responsive player replace the width with width="100%".

Limits to know

  • Free Drive storage is 15 GB shared with Gmail and Photos.
  • If a video gets a lot of traffic in a day, Drive may temporarily block playback ("quota exceeded"). For public, high-traffic video use YouTube instead.
  • Drive has no analytics, ads or recommendations — which is exactly why it suits private or course content.

See also: hosting CSS and JavaScript files for Blogger.

Noman Akhter

Written by Noman Akhter (Startups Coach)

Online business expert and IT consultant since 2005. Founder of NAFsols and Startups Pakistan. More at nomanakhter.com.

Comments