Problem/Motivation

In my case, I am only using the module to load YouTube videos. I have found it necessary to include iframes with the youtube-nocookies.com URL to prevent the service from loading cookies.

Proposed resolution

Firstly, this module does not have a configuration interface. Ideally, one should be added so that the module can be adjusted to suit each need. In my case, it would be very useful to have an option that allows me to choose whether the iframe loads with youtube.com or youtube-nocookies.com.

User interface changes

Add a configuration form with a checkbox to enable the option to skip cookie injection by YouTube.

Comments

aolvera created an issue. See original summary.

themusician’s picture

Hi,

We can look into doing something that allows the no-cookie URL.

Core has been discussing this as well. https://www.drupal.org/project/drupal/issues/3043821

It may be related to adding a remote video twig template as well, https://www.drupal.org/project/ableplayer/issues/3548775, because it would seem we need to extend the core oembed functionality to support the youtube-nocookies URL pattern.

I like the idea of supporting this functionality.

aolvera’s picture

Version: 3.2.2 » 3.3.0

Ok. As far as possible, I'll come up with some ideas, and if I have time, I'll try to at least create the configuration form interface. I'll also see what we can do to make oEmbed allow more URLs like youtube-nocookies.com.