YouTube is a video sharing service where users can create their own profile, upload videos, watch, like and comment on other videos.

1 detections
1 websites tracked
Updated 25 May 2026

Websites Using YouTube

What Is YouTube (Embeds)?

YouTube is the world's largest video platform, and embedding is how its videos appear on millions of other websites. A YouTube embed is an <iframe> that pulls a video player from YouTube into a host page, letting a site show video without hosting the file itself. Launched in 2005 and owned by Google since 2006, YouTube is by a wide margin the most-embedded video player on the web, found on blogs, marketing pages, documentation, news sites, and online courses. When you see a video with the familiar red play button and YouTube's player chrome on a non-YouTube site, you are almost certainly looking at a YouTube embed.

If you only remember one thing, remember the iframe. The standard embed is an <iframe> whose src points at https://www.youtube.com/embed/VIDEO_ID. There is also a privacy-focused variant served from https://www.youtube-nocookie.com/embed/VIDEO_ID, which YouTube describes as "privacy-enhanced mode" because it avoids storing certain cookies until the visitor plays the video. Both render the same player; the difference is in tracking behavior. Recognizing these two domains is the core of detecting YouTube embeds.

A third form is the IFrame Player API, which lets developers control the embedded player programmatically (play, pause, seek, and listen for events) by loading a script from https://www.youtube.com/iframe_api and using the YT.Player JavaScript object. This is common on sites that build custom video experiences, playlists, or analytics around YouTube content.

StackOptic is a server-side URL-analysis tool that surfaces the technologies a page uses, including embedded media. This profile explains how YouTube embeds appear in a page's markup and network activity and how to recognize them, not how to run a YouTube channel.

How YouTube Embeds Work

The mechanism is intentionally simple for site owners. From any video, YouTube's "Share → Embed" option produces an <iframe> snippet. The site owner pastes that snippet into a page, optionally adjusting parameters in the URL (for example ?rel=0 to limit related videos, ?start=30 to begin at a timestamp, or ?autoplay=1). When a visitor loads the page, the browser requests the player document from youtube.com/embed/... (or the -nocookie domain), and YouTube returns a fully functional player isolated inside the iframe. The host page does not manage video decoding, streaming, or controls; YouTube handles all of it.

The player streams video from Google's video infrastructure (the googlevideo.com content servers) and pulls thumbnails from YouTube's image CDN at i.ytimg.com. Thumbnails are worth noting because they often load even before playback to show the poster frame, and their i.ytimg.com URLs are a recognizable signal in their own right.

For programmatic control, the IFrame Player API changes the loading pattern slightly. Instead of (or in addition to) a static iframe, the page loads https://www.youtube.com/iframe_api, which in turn injects the player script and defines the global YT object. Developer code then creates a player with new YT.Player(elementId, {...}), can call methods like playVideo() and pauseVideo(), and can subscribe to state-change events. This is how sites build custom controls, autoplay sequences, or view-tracking around embedded videos.

A performance note is important, because video embeds are among the heaviest third-party components on the web. A standard YouTube iframe can pull in a large amount of JavaScript and assets even before the user clicks play, and a page with several embeds multiplies that cost. The widely recommended fix is a lazy-loaded facade: show a lightweight clickable thumbnail (often from i.ytimg.com) and only swap in the real iframe when the user clicks. Popular implementations of this pattern, sometimes called a "lite YouTube embed," can dramatically reduce initial page weight. Using the youtube-nocookie.com domain additionally limits cookie-based tracking until playback. If you are auditing speed, multiple eager YouTube iframes are a classic cause of poor load metrics.

It also helps to understand the URL parameters site owners attach to an embed, because they appear in the iframe src and double as detection detail. Common ones include autoplay=1 (start playback automatically, which browsers usually allow only when combined with mute=1), start= and end= (begin and end at specific second offsets), loop=1 with playlist=VIDEO_ID (repeat the clip), controls=0 (hide the player chrome), rel=0 (limit which related videos appear at the end), cc_load_policy=1 (force captions on), and enablejsapi=1 (allow the IFrame API to control this player). Seeing these query parameters in a youtube.com/embed/... URL not only confirms YouTube but tells you how the video is meant to behave. The enablejsapi=1 flag in particular hints that the page also loads the IFrame API and is controlling the player from JavaScript.

Two further practical realities shape how YouTube embeds show up in the wild. First, consent and privacy tooling increasingly gates these embeds: many sites in regulated regions wrap the iframe in a cookie-consent placeholder so the youtube.com/embed request fires only after the visitor accepts, which is why a Network tab may stay empty until you interact with a consent banner. Second, responsive embedding wraps the iframe in a container with a fixed aspect ratio (commonly via CSS such as aspect-ratio: 16 / 9 or the older padding-bottom trick) so the player scales with the viewport. Neither of these changes the underlying domains you detect; they change when and how the iframe is inserted, which is exactly why combining View Source, Network, and Console checks is more reliable than any single method.

How to Tell if a Website Uses YouTube (Embeds)

YouTube embeds are easy to fingerprint because they rely on a small set of well-known domains and a recognizable global object. The signals below run from most to least definitive.

Iframe source domains in the markup and network log

The clearest signals are the embed domains:

  • youtube.com/embed/VIDEO_ID — the standard embedded player iframe source.
  • youtube-nocookie.com/embed/VIDEO_ID — the privacy-enhanced player variant.
  • i.ytimg.com — YouTube's thumbnail/image CDN, frequently loaded for poster frames and facades.
  • www.youtube.com/iframe_api — loaded when the site uses the IFrame Player API for programmatic control.
  • googlevideo.com — the video-streaming hosts that serve the actual media once playback starts.

A quick View Source usually reveals the <iframe src="https://www.youtube.com/embed/..."> directly in the HTML for statically embedded videos. For dynamically injected players (and facades that swap in the iframe on click), open DevTools, go to the Network tab, filter by youtube or ytimg, and watch the requests appear as the page loads or when you click play.

The YT global and IFrame API

When the IFrame Player API is in use, the page defines a global YT object (and a YT.Player constructor). Open the DevTools Console and type YT or window.YT; if it returns an object, the site loads YouTube's player API. You may also see a global callback named onYouTubeIframeAPIReady, which the API invokes once it finishes loading. These globals are not present for a plain static iframe embed, because that player's scripts run inside the isolated iframe rather than the host page.

DOM and Inspector markers

In the Elements/Inspector panel, look for an <iframe> element whose src or data-src (common in lazy facades) contains youtube.com/embed or youtube-nocookie.com. Lazy-load implementations often leave a placeholder element with a class like lite-youtube or a data- attribute holding the video ID, plus a background image pointing at i.ytimg.com. Searching the DOM for youtube or ytimg quickly surfaces these nodes.

Detection tools

Fingerprinting tools such as Wappalyzer and BuiltWith recognize YouTube's embed domains and the IFrame API and will flag the site automatically. To do this from the server side across many URLs without a browser, StackOptic inspects a page's requests and markup and reports embedded media like YouTube as part of a full technology profile.

For more on auditing third-party media and reducing its cost, see how to find out what technology a website uses, how to make your website load faster, and how to optimize images for the web (the thumbnail facades that front a lazy embed are themselves images worth optimizing).

Key Features

  • Simple iframe embedding. Copy-paste a <iframe> to display any public or unlisted video with full playback controls.
  • Privacy-enhanced mode. The youtube-nocookie.com domain limits cookie-based tracking until the visitor plays the video.
  • URL parameters. Control autoplay, start time, captions, loop, related-video behavior, and player chrome through query parameters.
  • IFrame Player API. Programmatic control via the YT.Player object for custom controls, playlists, and event tracking.
  • Adaptive streaming. YouTube serves video at quality levels matched to the viewer's bandwidth and device automatically.
  • Global delivery and captions. Worldwide CDN delivery plus automatic and uploaded captions and subtitles.

Pros and Cons

Pros

  • Free, reliable hosting and streaming for video without bandwidth costs to the host site.
  • Familiar player UX that visitors already know how to use.
  • Adaptive quality and global CDN delivery handle scale automatically.
  • Privacy-enhanced domain and a programmable API give some control over tracking and behavior.

Cons

  • Heavy by default: eager iframes add significant page weight and requests, hurting load metrics unless lazy-loaded.
  • The standard domain sets cookies and can introduce third-party tracking and related-video distractions.
  • Branding and the YouTube player chrome are not fully removable; the experience is YouTube's, not the site's.
  • Embeds depend on YouTube availability and policies; videos can be removed or age-restricted.

YouTube vs Alternatives

YouTube embeds are most often compared with Vimeo, Wistia, and self-hosted HTML5 video. The choice hinges on cost, branding, privacy, and audience.

OptionCostBranding controlPrivacyCommon detection signal
YouTubeFreeLimited (YouTube chrome)Cookies unless -nocookieyoutube.com/embed, i.ytimg.com, YT.Player
VimeoPaid tiersHigh (clean player)Privacy-friendlierplayer.vimeo.com/video, Vimeo.Player
WistiaPaid (marketing-focused)High + lead captureConfigurablefast.wistia.com, Wistia global
Self-hosted HTML5Hosting/bandwidth costFullFull<video> tag, your own media URLs

The practical summary: YouTube wins on free, scalable hosting and reach; Vimeo wins on a clean, professional, ad-free player; Wistia wins on marketing analytics and lead capture; and self-hosting wins on total control at the cost of bandwidth. For the professional-leaning alternative, see our profile of Vimeo embeds.

Use Cases

  • Marketing and landing pages. Product demos, explainer videos, and testimonials embedded near a call to action.
  • Blogs and documentation. Tutorials and walkthroughs embedded inline with written content.
  • Online courses and education. Lesson videos embedded into learning platforms and course pages.
  • News and media. Clips and interviews embedded within articles.
  • Competitive and technical research. Detecting how a site embeds video (eager iframe vs lazy facade, standard vs -nocookie, plain embed vs IFrame API) reveals performance and privacy choices, and signals whether a team has invested in optimization.

Frequently Asked Questions

How can I tell if a website uses YouTube embeds?

Run a View Source or open the DevTools Network tab and look for youtube.com/embed, youtube-nocookie.com/embed, or i.ytimg.com requests. A static embed shows the <iframe> directly in the HTML; a lazy facade reveals the iframe request only after you click the thumbnail. If the site uses the player API, typing YT in the Console returns an object. Tools like Wappalyzer or StackOptic detect this automatically.

What is the difference between youtube.com and youtube-nocookie.com embeds?

Both serve the same player, but youtube-nocookie.com is YouTube's privacy-enhanced mode, which avoids setting certain cookies until the visitor actually plays the video. The standard youtube.com/embed domain may set cookies on load. Privacy-conscious sites often choose the -nocookie domain to reduce tracking before consent or interaction.

Do YouTube embeds slow down a website?

Yes, noticeably, if loaded eagerly. A standard embed pulls in a large amount of JavaScript and assets before the user even clicks play, and several embeds compound the cost. The recommended fix is a lazy-loaded facade: display a lightweight clickable thumbnail and only insert the real iframe on click. This can dramatically improve load metrics. See how to make your website load faster.

What is the YouTube IFrame Player API?

It is a JavaScript interface, loaded from www.youtube.com/iframe_api, that lets developers control an embedded player programmatically through the YT.Player object: starting and pausing playback, seeking, adjusting quality, and reacting to player events. Sites use it to build custom controls, autoplay sequences, playlists, and view tracking around embedded videos. Its presence (a defined YT global) distinguishes an API-driven embed from a plain static iframe.

Can I detect a YouTube embed that only loads after a click?

Yes. Lazy facades still produce the telltale requests once triggered. The placeholder usually carries a data- attribute with the video ID and a thumbnail from i.ytimg.com, and clicking it fires the youtube.com/embed request. Inspecting the DOM for a lite-youtube element or watching the Network tab while you click reveals the embed.

Want to inventory every embedded video and third-party tool on a page? Analyze it with StackOptic.