[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 3 14:51:59 UTC 2022


#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:  Future
                                                 |  Release
Component:  Embeds                               |     Version:  4.9.7
 Severity:  normal                               |  Resolution:
 Keywords:  needs-testing has-patch needs-dev-   |     Focuses:  privacy
  note close                                     |
-------------------------------------------------+-------------------------

Comment (by Mte90):

 To me to achieve this is quite simple:

 * switch to nocookie version so the new ones are covered
 * write a detailed note like any WP release about the change for their
 security policy
 * publish a wp-cli snippet to replace all the articles with the old oembed
 * release a filter to switch to the previous youtube url (or new one) in
 case someone needs (in this way also cookie banners plugin can integrate
 this)
 * maybe extend this filter also for other services that have similar
 features

 In this way it is the owner of the website that can decide what to do, but
 WP is bulletproof for any issues of this that is provided to all the
 millions installation that WP has.

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


More information about the wp-trac mailing list