Make WordPress Core

Opened 20 months ago

Closed 20 months ago

Last modified 20 months ago

#49800 closed enhancement (duplicate)

Use youtube-nocookie.com for YouTube embeds

Reported by: adakaleh Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Embeds Keywords:
Focuses: privacy Cc:



To protect visitors' privacy, use YouTube's privacy-enhanced mode when embedding videos. This means changing "youtube.com" to "youtube-nocookie.com" in the iframe's src, making it so cookies aren't placed unless the visitor plays the video. Details here.

There are several plugins that do this (example), but I don't see any reason not to make it the default. Videos would no longer be blocked by Firefox's level 2 tracking block list. It would also help with GDPR compliance.

Related ticket: #44610

Change History (2)

#1 follow-up: @TimothyBlynJacobs
20 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

HI @adakaleh,

Thanks for the ticket and welcome to trac!

We're already tracking this issue in #44610.

#2 in reply to: ↑ 1 @adakaleh
20 months ago

Thanks! I don't think it's a duplicate, though, because my proposal is to embed from youtube-nocookie.com even when a regular youtube.com link is used (unless the iframe code is inserted directly, of course).

Anyway, I'll see if I can help with the code.

Note: See TracTickets for help on using tickets.