[wp-trac] [WordPress Trac] #44610: Allow Youtube-Player to use youtube-nocookie.com URLS to avoid setting cookies.
WordPress Trac
noreply at wordpress.org
Sat Jan 23 16:22:46 UTC 2021
#44610: Allow Youtube-Player to use youtube-nocookie.com URLS to avoid setting
cookies.
-------------------------------------+----------------------------
Reporter: jepperask | Owner: williampatton
Type: enhancement | Status: assigned
Priority: normal | Milestone: 5.7
Component: Embeds | Version: 4.9.7
Severity: normal | Resolution:
Keywords: needs-testing has-patch | Focuses: privacy
-------------------------------------+----------------------------
Comment (by johnbillion):
To clarify, the intention of this change is to switch the domain name for
all YouTube embeds from `youtube.com` to `youtube-nocookie.com`. The
result is that no cookies are set by YouTube until the visitor interacts
with the video, for example by playing it.
Some questions:
* Does this have any side effects for the player? For example, are there
preferences I can set on YouTube that carry over to embedded videos that
will no longer be respected?
* Do controls such as "watch later" still work as expected?
* Does this affect the video analytics in any way? For example, the Vimeo
embed in core is currently a problem for content producers on Vimeo
because all analytics are disabled due to the `dnt` parameter (see
#46986). Could a similar thing affect YouTube videos embedded using this
different domain name?
* This will cause breakage for sites that use a content security policy
that allows `youtube.com` but aren't aware of `youtube-nocookie.com`.
* What else might break with a change of domain name here?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44610#comment:39>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list