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
- Open drive.google.com and click New → File upload.
- Choose your MP4 (MP4/H.264 works best; MOV and AVI also play). Wait for the upload to finish.
- 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
- Right-click the file → Share.
- Under "General access" change Restricted to Anyone with the link (Viewer).
- Click Done.
3. Get the embed code
- Double-click the video to open the preview.
- Click the three-dot menu (top right) → Open in new window.
- 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.
Comments