[wp-trac] [WordPress Trac] #44610: Allow Youtube-Player to use youtube-nocookie.com URLS to avoid setting cookies.

WordPress Trac noreply at wordpress.org
Thu Feb 27 23:26:45 UTC 2025


#44610: Allow Youtube-Player to use youtube-nocookie.com URLS to avoid setting
cookies.
-------------------------+-----------------------
 Reporter:  jepperask    |       Owner:  audrasjb
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  6.8
Component:  Embeds       |     Version:  4.9.7
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:  privacy
-------------------------+-----------------------
Changes (by audrasjb):

 * keywords:  has-patch commit => has-patch


Comment:

 @swissspidy I have a doubt: is it ok that the second part of the following
 refers to youtube.com?

 {{{
 '#https?://((m|www)\.)?youtube-nocookie\.com/embed/.*#i' => array(
 'https://www.youtube.com/oembed', true ),
 }}}

 (thanks @otto42 for questioning this)

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44610#comment:81>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list