WAE frame artwork

WAE Research · Platform rules, checked 8 November 2026

Embedding YouTube videos on your site: what YouTube says

Putting a YouTube video or playlist on your own website. What YouTube’s help page says about the embed code, start time, autoplay and views, privacy-enhanced mode, and the rules.

WAE is not yet onboarding external customers. Joining the list records your interest.

The short answer.

To put a YouTube video or playlist on your website, open it on a computer, click Share, then Embed, copy the HTML code and paste it into your page. YouTube’s help page adds a few rules: a site aimed at children must designate itself as child-directed, age-restricted videos cannot be watched on most other sites, a page must send an HTTP Referer or playback is blocked with error 153, and videos that autoplay in an embed do not add to the view count. A privacy-enhanced mode is available by switching the domain to youtube-nocookie.com.

A guide based on YouTube’s public help page. Policies change; read YouTube’s current page before you rely on this. We read it on 8 November 2026.

Embed options, per YouTube.

  • Start time: add ?start= and a number of seconds to the embed URL; for example, ?start=90 starts at 1:30.
  • Autoplay: add &autoplay=1 after the video ID in the embed code. Autoplayed embedded videos do not increase the view count.
  • Captions: &cc_load_policy=1 turns captions on by default, and &cc_lang_pref= with a two-letter language code (such as fr) sets their language.
  • Privacy-enhanced mode: change the embed domain from youtube.com to youtube-nocookie.com. Views of the embed are then not used to personalise the viewer’s YouTube browsing, and ads shown are non-personalised. It works on websites only; apps should use a WebView.
  • Networks: administrators need youtube.com, and youtube-nocookie.com for the privacy mode, on the firewall allowlist.

Rules and limits, per YouTube.

  • A child-oriented site or app that embeds YouTube must self-designate with YouTube’s tools, even in privacy-enhanced mode. This turns off personalised ads and some player features there.
  • Age-restricted videos cannot be watched on most other sites; viewers are sent to YouTube instead.
  • The YouTube Terms of Service require an HTTP Referer. Without one, playback is blocked with error 153, and viewers can still choose “Watch on YouTube”.
  • If a viewer clicks from an embed to another site, that site may track them under its own policies. The YouTube API Terms of Service and Developer Policies apply to every use of the embedded player.
  • Stopping others from embedding your video: in YouTube Studio, open Content, then the video’s Details, select Show more, untick “Allow embedding” and save.

What the page does not cover.

  • It gives embed steps for a computer only, not for the mobile app, and it does not explain whether embedded plays that are not autoplayed count toward views in every case.

How a team might use it.

This section is our reading, not YouTube’s words.

A brand putting its videos on product or campaign pages should avoid autoplay if views matter, consider privacy-enhanced mode for visitors in markets with strict cookie rules, and check that its site sends a referrer so the player does not fail with error 153. Our guides to made-for-kids settings and to YouTube traffic sources cover the audience and measurement side.

Changelog.

  • : first version, from YouTube’s help page as read on this date.

Sources.

WAE frame artwork

Be first when external access opens.

WAE is preparing external access for teams that run several brands or channels. Join the list and WAE will write when a place opens.

WAE is not yet onboarding external customers. Joining the list records your interest.