FlowConsent
ServicesHow it worksPricingBlogDocumentation
ServicesHow it worksPricingBlogDocumentationLog inTry FlowConsent
Log inTry FlowConsent
FlowConsent

GDPR-compliant consent, EU-hosted, live in under ten minutes — without a cookie wall.

EU-HOSTED·RGPD·SOC 2
Product
  • Services
  • How it works
  • Pricing
  • Extension
Company
  • Blog
  • Documentation
  • Solutions
  • FlowConsent App
Legal
  • Privacy Policy
  • Terms of Service
  • Legal notice
  • Cookies
© 2026 FlowConsent by BeBranded. All rights reserved.
FrancaisDeutschEspanol
All systems operational

Does your website use third-party services? Get GDPR compliant in minutes.

Try FlowConsent
  1. Home
  2. Services
  3. Video
  4. lite-youtube-embed
l

lite-youtube-embed

PreferencesWebsite

Related services

Annoto

Annoto is a web technology service that provides essential functionality for websites and digital platforms. It delivers core capabilities that support site operations, content delivery, and user experience optimization. Annoto integrates seamlessly with modern web architectures, ensuring reliable performance and compatibility across browsers and devices. Trusted by businesses worldwide, Annoto helps organizations maintain robust websites that meet user expectations and technical requirements.

Preferences
B

Brightcove

Brightcove is a user preference and personalization service that helps websites deliver customized experiences based on individual visitor settings and choices. It manages preferences for content display, communication channels, and interaction styles. Brightcove integrates with website platforms to remember and apply user choices consistently across sessions. With privacy-compliant preference storage, Brightcove enhances satisfaction by ensuring tailored browsing experiences for every visitor.

Preferences
B

Bunny Stream

Bunny Stream is a video hosting and streaming platform that helps businesses deliver high-quality video content to their audiences. It provides adaptive bitrate streaming, customizable players, and content management tools. Bunny Stream supports live streaming, on-demand playback, and video analytics. With CDN-powered delivery and responsive embeds, Bunny Stream ensures smooth playback across all devices and network conditions for engaging video experiences.

Preferences

Caast.tv

Caast.tv is a foundational web service that powers critical website functions and digital experiences. It provides reliable infrastructure, seamless integration capabilities, and consistent performance across all devices and browsers. Caast.tv supports modern development practices and scales with growing business needs. With a focus on stability and compatibility, Caast.tv ensures your website delivers a smooth, uninterrupted experience to every visitor and search engine crawler.

Preferences

Captivate.fm

Captivate.fm is a web technology service that provides essential functionality for websites and digital platforms. It delivers core capabilities that support site operations, content delivery, and user experience optimization. Captivate.fm integrates seamlessly with modern web architectures, ensuring reliable performance and compatibility across browsers and devices. Trusted by businesses worldwide, Captivate.fm helps organizations maintain robust websites that meet user expectations and technical requirements.

Preferences
C

Cloudflare Stream

Cloudflare Stream is a video hosting and streaming platform that helps businesses deliver high-quality video content to their audiences. It provides adaptive bitrate streaming, customizable players, and content management tools. Cloudflare Stream supports live streaming, on-demand playback, and video analytics. With CDN-powered delivery and responsive embeds, Cloudflare Stream ensures smooth playback across all devices and network conditions for engaging video experiences.

Preferences
Get compliant — Try FlowConsent free

Free plan · 10-min setup

What does lite-youtube-embed do?

lite-youtube-embed is an open source facade web component that shows a static YouTube thumbnail and only loads the real YouTube iframe when the visitor clicks play, ideally via youtube-nocookie.com. This defers all YouTube cookies and most data sharing until the user actively chooses to watch.

What is lite-youtube-embed?

lite-youtube-embed is an open source facade web component that replaces a standard YouTube embed with a lightweight thumbnail placeholder. The real YouTube iframe only loads when the visitor actively clicks the play button, ideally using the youtube-nocookie.com domain. This privacy by design approach means YouTube cookies and most data sharing are deferred until the visitor makes an active choice to watch.

Data and Cookies Collected

No YouTube cookies are set until the visitor clicks play. After clicking, the YouTube player loads and may set VISITOR_INFO1_LIVE (estimates bandwidth and personalisation, lasting 6 months), YSC (tracks video views for the session), VISITOR_PRIVACY_METADATA (6 months) and, on youtube.com, PREF (8 months for preferences). Before the click, if the thumbnail is loaded from i.ytimg.com rather than being self hosted, the visitor IP is exposed to Google on page load.

GDPR and ePrivacy Implications

lite-youtube-embed is an excellent privacy by design solution. Because cookies and the YouTube connection are deferred until the visitor actively clicks play, the ePrivacy obligation to obtain prior consent before setting cookies is satisfied by the act of clicking. If the thumbnail is self hosted, there is no prior data transfer to Google and the pre-click state requires no consent. This makes it one of the most compliant ways to embed YouTube content.

Get GDPR compliant in 10 minutes

Free plan available · No credit card required

Try FlowConsent free

Consent Requirements

When the thumbnail is self hosted, no prior consent is required before the page loads. Clicking play constitutes informed, active consent to load the YouTube player. You should still inform visitors via your cookie policy and privacy notice. If thumbnails are loaded from i.ytimg.com, prior consent should be obtained before page load because the IP is already exposed. Use youtube-nocookie.com as the player source to minimise cookie scope after click.

Data Transfers Outside the EU

Once the visitor clicks play, the YouTube player connects to Google LLC servers in the United States. Google relies on the EU US Data Privacy Framework and standard contractual clauses as transfer mechanisms. Self hosting the thumbnail eliminates any pre-click transfer. Document the post-click Google transfer in your records of processing activities and reference the applicable transfer mechanism.

Practical Compliance Steps

To use lite-youtube-embed compliantly: self host thumbnails to achieve a fully cookieless pre-click state; set the videoid attribute and use youtube-nocookie.com as the player source; add a visible label on the thumbnail explaining that clicking loads YouTube; include YouTube in your cookie policy under the on demand media category; document the post-click Google data transfer; and review Google data processing terms and transfer mechanism annually.

GDPR consent category

Preferences

Websites using lite-youtube-embed must obtain user consent under GDPR regulations.

Legal basisConsent under Article 6(1)(a) GDPR for the YouTube player that loads on click; the facade itself can avoid prior consent if the thumbnail is self hosted
Risk levelmedium
Applicable regulationsGDPR, ePrivacy Directive (2002/58/EC)

DPIA considerations

A DPIA is unlikely to be required for lite-youtube-embed when the thumbnail is self hosted and the visitor clicks to load the player, as personal data processing is deferred until active consent. If the thumbnail is loaded from i.ytimg.com, the visitor IP is exposed on page load and a DPIA should assess this alongside the subsequent Google data transfer on play. Document the use of youtube-nocookie.com as the player source, the self hosting approach for thumbnails and the consent mechanism.

Sample consent text

This video is hosted on YouTube. Clicking play will load the YouTube player, which may set cookies and send your IP address and viewing data to Google in the United States. Do you consent to loading this YouTube video?

Technical details

Tracking methodFacade web component that renders a thumbnail and only loads the YouTube iframe player on click, preferably via youtube-nocookie.com, deferring cookies until playback
Server locationUnited States
Cookieless tracking availableYes
Data transferred outside the EUOnce the visitor clicks play, the YouTube player loads and the visitor IP and cookies are processed by Google LLC in the United States under the EU US Data Privacy Framework and standard contractual clauses. Before that, only a thumbnail request to i.ytimg.com occurs, which can be eliminated by self hosting the thumbnail.

Third-party domains contacted

www.youtube-nocookie.comwww.youtube.comi.ytimg.coms.ytimg.com

Cookies placed

NameTypeDurationPurpose
VISITOR_INFO1_LIVEAnalytics6 monthsSet by YouTube after the visitor clicks play to estimate bandwidth and personalise the player experience
YSCAnalyticsSessionSet by YouTube after click to track video views during the browser session
VISITOR_PRIVACY_METADATAFunctional6 monthsSet by YouTube after click to store consent and privacy metadata for the visitor
PREFPreferences8 monthsSet on youtube.com after click to store viewer preferences such as language and autoplay settings

lite-youtube-embed uses cookies for user preferences — inform visitors with a consent banner.

Get started freeScan your site

Frequently asked questions

What cookies does lite-youtube-embed set?

lite-youtube-embed sets no cookies in its initial state. Cookies are only set after the visitor actively clicks the play button and the YouTube iframe loads. At that point YouTube may set VISITOR_INFO1_LIVE (6 months, estimates bandwidth and personalisation), YSC (session, tracks video views), VISITOR_PRIVACY_METADATA (6 months) and on youtube.com PREF (8 months for preferences). Using youtube-nocookie.com as the player source reduces the cookie footprint.

Is consent required before using lite-youtube-embed?

When the thumbnail is self hosted, no prior consent is required before the page loads because no cookies are set and no data is sent to Google. Clicking play constitutes informed, active consent. If the thumbnail is loaded from i.ytimg.com, the visitor IP is exposed to Google on page load, which requires prior consent. Always use youtube-nocookie.com as the player source after click.

What is the legal basis for using lite-youtube-embed under GDPR?

The legal basis is consent under Article 6(1)(a) GDPR for the YouTube player that loads on click. When the thumbnail is self hosted and the player is loaded via youtube-nocookie.com, the act of clicking play serves as the consent event. For the pre-click state with a self hosted thumbnail, no separate consent is required as no personal data is processed.

Does lite-youtube-embed transfer data to the United States?

Data is transferred to the United States only after the visitor clicks play, at which point the YouTube player connects to Google LLC servers in the United States. Google relies on the EU US Data Privacy Framework and standard contractual clauses. If the thumbnail is self hosted there is no pre-click transfer to Google at all.

Is a DPIA required for lite-youtube-embed?

A DPIA is unlikely to be required when thumbnails are self hosted and the youtube-nocookie.com player source is used, because personal data processing is deferred until the visitor actively consents by clicking. If thumbnails are loaded from i.ytimg.com, a DPIA should assess the pre-click IP transfer to Google in the United States.

How do I implement lite-youtube-embed compliantly?

Self host the thumbnail images to achieve a fully cookieless and data transfer free pre-click state. Set the player source to youtube-nocookie.com. Add a visible label to the thumbnail placeholder stating that clicking loads YouTube. Include YouTube in your cookie policy under on demand media. Document the post-click Google data transfer and the applicable transfer mechanism in your records of processing activities.

Are there privacy friendlier alternatives to lite-youtube-embed?

lite-youtube-embed is already one of the most privacy friendly ways to embed YouTube content. The next step would be self hosting the video entirely, which eliminates any connection to Google. For a middle ground, consider a server side video proxy that strips visitor data before contacting YouTube. Alternatively link to the YouTube video rather than embedding it.

How do I update my cookie policy for lite-youtube-embed?

Add a YouTube entry to your cookie policy under the on demand media category. State that no cookies are set before the visitor clicks play. After clicking, list VISITOR_INFO1_LIVE, YSC, VISITOR_PRIVACY_METADATA and PREF with their durations. Note that data is transferred to Google in the United States under the EU US Data Privacy Framework. State that the player uses youtube-nocookie.com to minimise the cookie scope.