Skip to content

How to Add Video to Google Sites: 3 Methods (2026 Guide)

Add video to Google Sites with YouTube, Drive, or custom embed code. Compare the trade-offs, fix playback problems, and choose an option for your audience.

Illustration of a video player tile being slotted into a puzzle-piece gap on a website page under construction

How to add video to Google Sites: use Insert → YouTube, Insert → Drive, or Insert → Embed → Embed code. Google Sites cannot store video files in its own media library, so the video must live on YouTube, Google Drive, or an external video host.

YouTube is quickest, Drive suits private or classroom files, and an embed-code block gives you control over branding and delivery. Here are the click paths, limits, and fixes for failed playback.

📋
TL;DR
Fastest setup: Choose YouTube from the Insert panel and select a video.
Private sharing: Insert a Google Drive video, but check permissions and public-view limits first.
Ad-free branded playback: Use Insert → Embed → Embed code with a third-party host such as SmartVideo.
Important constraint: Google Sites has no site-wide header or footer code area, so custom video scripts must be pasted into each embed block.

Which video method should you use in Google Sites?

Use this table before building the page. It separates setup speed from viewer-experience control.

MethodAds and brandingPlayback and accessStorage and effort
YouTubeYouTube branding, ads may appear, and related-video prompts can pull viewers away.Broad reach; native insert has no autoplay control.Free to host; one-click setup.
Google DriveGoogle Drive player and account context remain visible.Convenient for signed-in viewers; 1920×1080 maximum playback resolution and a non-signed-in view ceiling.Uses Drive quota; permission setup takes a few extra checks.
Embed codeDepends on the host; can provide a branded, ad-free player.Supports external players and adaptive-bitrate delivery; paste once per block.External host storage; moderate setup effort.

Drive suits a class already using Google Workspace. For a public business page, choose a player without ads or unrelated-content prompts. For an intranet, confirm permissions and search behavior before publishing.

Method 1: Add a YouTube video with Insert → YouTube

YouTube is the simplest route for a public announcement or tutorial whose YouTube presence is acceptable.

Steps to insert a YouTube video

Open the Google Sites editor on a desktop browser, select the page, and place the cursor where the player should appear. Google’s current help documentation lists YouTube as a native content type in the Insert panel (Google Sites Help, 2026).

Two colleagues discussing a site editor window with an Insert panel open beside a video preview card
The Insert panel is the only place Sites offers YouTube as a content type — the editor has no direct video upload of its own.
  1. Click Insert in the right-hand panel.
  2. Choose YouTube.
  3. Search for the video or paste its YouTube URL.
  4. Select the video, then click Insert.
  5. Drag the player handles to resize it, or use the layout controls to position it beside text or another element.
  6. Click Publish, then open the public URL in a private browser window to test it as a visitor — the editor view does not prove what anonymous visitors see.

For provider-side controls and URL parameters, see YouTube’s embed documentation.

What a YouTube embed adds to the page

The native player brings YouTube’s interface and business model with it. A measurement by Chris Coyier on the Frontend Masters blog (now Master.dev), published July 1, 2024, found that one standard YouTube embed made 32 requests, transferred 1.3 MB, and took 2.76 seconds to load; separate embeds did not share those resources (Chris Coyier, Frontend Masters blog, 2024).

That matters on pages with multiple videos: the same test measured 2.4 MB for two embeds and 3.6 MB for three. A separate guide notes that popular embeds can include more than 100 KB of JavaScript and recommends lazy loading (web.dev, 2021).

Choose YouTube when public reach and setup speed matter more than a controlled player experience. If your page is a sales page, employee portal, or course resource, review what a YouTube embed actually costs your page and how to embed video without ads before adding several players.

Method 2: Add a Google Drive video with Insert → Drive

Drive suits files already in Workspace or pages controlled by Google account permissions. It is not a direct upload to Google Sites: upload to Drive first, then insert the file.

Steps to insert a video from Google Drive

Before opening Sites, make sure the video has finished processing in Drive and decide who should be allowed to watch it. Drive supports common formats including WebM, MPEG-4, MOV with H.264, AVI, WMV, and OGG, and its documented maximum playback resolution is 1920×1080 (Google Drive Help, 2026).

A stored video file card arcing from a warehouse shelf into a web page layout with a sharing-permission list beside it
The file has to reach Drive before it can reach the page, and its sharing settings — not the Sites page — decide who can press play.
  1. Upload the video to Google Drive and wait until Drive finishes processing it.
  2. In the Drive file menu, select Share and set access for the intended viewers. For a public page, test the link while signed out.
  3. Open the Google Sites editor and select the page where the video belongs.
  4. Click Insert, choose Drive, and select the video file.
  5. Click Insert in the file picker, then resize or reposition the player.
  6. Publish the site and test the public page from a browser profile that is not signed in to the owner’s Google account.

When Drive is a poor fit for a public page

Drive video playback has a public-access limit that can appear as: “You’ve hit the limit for viewers who aren’t signed in. To continue to play the video, sign in to your Google Account.” Google documents this message on the same Drive video help page but does not publish a simple per-video view number. A video that works for its owner can therefore fail for a public audience after enough non-signed-in requests.

Storage is another trade-off. Google says that Sites and the content embedded in Sites count toward the associated Drive storage quota (Google Workspace Sites requirements, 2026). If 200 students need the same training video during one class period, Drive’s sharing and playback ceiling deserves a test before you make it the only copy.

Use Drive for a small, known audience with clear account access. For larger distribution, compare it with private video hosting for internal pages or a host designed for playback rather than file previews. If you are preparing the source file first, this guide to which video format to upload covers the main options.

Method 3: Use Google Sites embed code for custom HTML

Insert → Embed → Embed code is the route for a hosted MP4 player or an ad-free branded embed when you want to host videos without YouTube or Drive. The Embed panel also has a URL option for providers that give you a shareable embed URL; choose Embed code for HTML or a script snippet. This answers “How do I embed a video on Google Sites without using YouTube or Drive?”

Steps to add an HTML video embed

Google Sites runs the code inside an iframe associated with that embed block. The code is not part of the site’s normal page text, so embedded code is not indexed by Google Sites’ own site search (Steegle’s Google Sites embed-code guide).

An embed code dialog holding a video player snippet inside a dashed responsive preview frame
Pasted embed code runs inside its own iframe block, which is why the player sits apart from the page's normal text.
  1. Open the Google Sites editor and choose the page and section for the video.
  2. Click Insert, then choose Embed.
  3. Select Embed code, not the URL tab.
  4. Paste the complete code supplied by your video host, then click Next and Insert.
  5. Resize the embed block to match the video’s aspect ratio. Keep the block wide enough for controls and captions on smaller screens.
  6. Publish and test the page in a private browser window and on a phone.

Embedding SmartVideo without YouTube or Drive

Google Sites has no site-wide header or footer code area. Install a custom player per block by pasting the full SmartVideo script snippet from Dashboard → Configuration and the video tag in the same Insert → Embed → Embed code block.

We tested this arrangement on a published Google Site on August 10, 2026. The player booted inside the sandboxed googleusercontent iframe and requested DASH segments from Swarmify’s CDN, including confirmed 206 segment responses.

<!-- Paste the complete SmartVideo snippet from Dashboard → Configuration above the tag. -->
<smartvideo src="path/to/my/video.mp4" width="1280" height="720" class="swarm-fluid" controls playsinline></smartvideo>

Replace the example source with the path generated for your video. Add muted autoplay when you need the video to start automatically; browsers block most audible autoplay. We also confirmed that the YouTube iframe API can load inside the same Google Sites block, so a configured YouTube auto-replacement setup works within that block rather than across the whole site.

🚀
Need a branded player on a Google Sites page?
Custom embed code lets you keep video outside YouTube and Drive while controlling the player experience. See how SmartVideo handles ad-free video embeds.

Autoplay and loop settings

The native YouTube picker in Google Sites does not expose an autoplay switch. A YouTube URL embedded through the code route can pass ?autoplay=1&mute=1, but autoplay remains subject to browser autoplay policy and is most reliable when muted. Looping YouTube playback also requires the provider’s loop parameters, not a Google Sites checkbox.

For an HTML player, use its supported attributes. A SmartVideo tag can use muted autoplay playsinline for a silent inline start; add loop only if supported and useful. Provide visible controls and do not make essential instructions depend on autoplay.

Which method fits your audience?

Teachers and classroom pages

Use YouTube for a public lesson that the school network allows. Use Drive when the class works inside Workspace and the file should remain limited to signed-in viewers. Test the published page from a student account; the owner view does not prove student playback.

Small-business marketing pages

Use custom embed code for a product demo, testimonial, or welcome video where ads, related videos, and platform branding would distract. Adaptive-bitrate playback also helps visitors on different connections. Compare the trade-offs with the five ways to embed video on a website.

Internal intranets

Drive is convenient for a small team, but verify permissions through the published-site path. Custom embeds can provide a separate player and delivery layer, though iframe text is not searchable in Google Sites. Put the title, summary, and instructions in normal Sites text beside the player.

Troubleshooting Google Sites video embeds

The video is blank or will not play

Check the failure in this order:

  1. Sharing: open the published URL while signed out. A restricted Drive file will not play for an anonymous visitor.
  2. Processing: open the source file in its original host and confirm that processing has finished. Drive can show a file before browser playback is ready.
  3. View ceiling: if Drive shows the non-signed-in viewer-limit message, move public playback to a host intended for distribution or require authenticated viewers.
  4. Embed permissions: some external sites send headers that prevent iframe loading. Try the host’s official embed code and check whether it allows framing.
  5. Block size: resize the Google Sites block so the player has a real width and height. A very short block can make a working player look absent.

The video appears in preview but not on the published page

Publish again after changing the block, then test the public URL rather than editor preview. If the code depends on an external script, confirm the URL is complete and uses HTTPS. The full snippet must be present in every block that needs it.

That behavior is expected for embed-code content: the iframe’s player and video text are not indexed as ordinary Sites page content. Add a normal text heading, transcript, or short description beside the block so visitors can find the lesson or product information through site search.

Frequently asked questions

Can you upload a video file directly to Google Sites?

No. Google Sites has no standalone video library; upload the file to Google Drive, publish it through YouTube, or use an external video host and add it through Insert → Embed. A linked MP4 file is not the same as an embedded player and may open in a separate browser tab.

How do I embed a video on Google Sites without using YouTube or Drive?

Use Insert → Embed → Embed code and paste the player code from an external video host. Google Sites places that code in an iframe, and you must repeat the full install inside each block because Sites has no global header-script field.

Does Google Sites let you add custom HTML or JavaScript?

Yes, through Insert → Embed → Embed code. The code is isolated to that block, runs in an iframe, and cannot act as a site-wide header or footer script. Test the published page because editor preview and visitor permissions can differ.

Why is my Google Drive video not playing on my Google Site?

The common causes are restricted sharing, unfinished Drive processing, or the non-signed-in viewer ceiling. Check the file directly in Drive, test the published Sites URL while signed out, and confirm that the video owner has not moved or deleted the source file.

Is there a view limit on Google Drive videos?

Yes, Drive can stop serving a video to viewers who are not signed in and show a sign-in message, although Google does not provide a simple public per-video number. This makes Drive risky as the only player for a public page or a large school event.

How do I make a video autoplay on Google Sites?

The native YouTube insert has no autoplay control. A custom embed may pass autoplay=1 and mute=1, but browsers can still block autoplay; muted playback, playsinline, and a visible play control give the most predictable result on phones.

How do I remove ads and suggested videos from a Google Sites video?

You cannot guarantee an ad-free, distraction-free experience with a standard YouTube insert because the YouTube player controls the surrounding recommendations and branding. Use an external video host that provides an ad-free embed and configure its player before pasting the code into Google Sites.

Do videos added to Google Sites count against storage?

Google Sites and the content embedded in Sites count toward the associated Google Drive storage quota. YouTube-hosted videos do not consume your Drive storage, while Drive-hosted source files and site content share the quota governed by your Google Workspace plan.

Conclusion

For a quick public video, use YouTube. For a controlled Workspace audience, use Drive after checking permissions and view limits. For a branded, ad-free player outside YouTube and Drive, use an external host’s code in a separate Embed code block for each video.

If your Google Sites page is customer-facing, compare SmartVideo plans and test the player before committing the layout. The goal is reliable playback that keeps attention on your content.

Put video on your site without the YouTube baggage

Embed any video ad-free, branding-free, and fast to load — no logos, no buffering, no speed penalty. On any platform.

Try SmartVideo Free Trusted by 3,000+ websites
/ to search · navigate · Enter select