![jordi's picture jordi's picture](https://platform.labdoo.org/sites/default/files/styles/thumbnail/public/pictures/picture-7-1436607887.png?itok=n_Tt0c5S)
Hello everyone,
This is a note about GDPR compliance for YouTube videos posted in Labdoo. (As you may know, GDPR is a new regulation coming from the European Union that enforces websites to ensure they follow a set of proper practices to protect users' privacies.)
One of the requirements is that youtube videos posted in Labdoo do not forward cookies to YouTube's servers. To achieve this, instead of using the URL www.youtube.com, we should use the URL www.youtube-nocookie.com.
This norm should be applied when using the following HTML tag:
Here is an example. Instead of using this type of tag:
[video:https://www.youtube.com/embed/Gpo-7GjFydw]
Please use the following (note the change to "-nocookie"):
[video:https://www.youtube-nocookie.com/embed/Gpo-7GjFydw]
I would like to ask that you update all the pages where you have introduced videos and change the URL following the above example. Thank you for helping out keeping all our content compliant with the new GDPR regulation.
Related ticket: https://www.labdoo.org/content/modify-youtube-plugin-2018-reform-eu-data...
Comments
Hi Jordi,
Hi Jordi,
ok, I'll do. Is there a way to get a list of all affected pages? With our user interface we cannot search inside the HTML code. Or can you generate a list and I will work on it?
Thanks, Ralf
PS:
PS:
Search string should be youtube.com and youtu.be, thank you
Here is the list of page IDs
Here is the list of page IDs that include the keyword youtube.
To load each page, use this URL: https://www.labdoo.org/node/NODEID.
For instance, to load the first page use: https://www.labdoo.org/node/26
mysql> SELECT entity_id from field_data_body WHERE body_value like "%youtube%";
+-----------+
| entity_id |
+-----------+
| 26 |
| 45 |
| 65 |
| 68 |
| 79 |
| 127 |
| 177 |
| 178 |
| 184 |
| 185 |
| 191 |
| 15674 |
| 15675 |
| 15679 |
| 16223 |
| 16479 |
| 16501 |
| 16502 |
| 16503 |
| 16755 |
| 16915 |
| 17059 |
| 18916 |
| 19302 |
| 19856 |
| 19911 |
| 20338 |
| 20510 |
| 20514 |
| 20814 |
| 22715 |
| 23404 |
| 25563 |
| 26379 |
| 26962 |
| 26997 |
| 27094 |
| 28345 |
| 30117 |
| 31631 |
| 31890 |
| 34436 |
| 35066 |
| 35070 |
| 36869 |
| 37172 |
| 37227 |
| 37520 |
| 37705 |
| 38027 |
| 38604 |
| 39312 |
| 39333 |
| 39469 |
| 39490 |
| 39931 |
| 40650 |
| 40668 |
| 40669 |
| 40670 |
| 40673 |
| 40675 |
| 40770 |
| 41451 |
| 41457 |
| 42653 |
| 44669 |
| 46902 |
| 48469 |
| 50429 |
| 50883 |
| 51133 |
| 51318 |
| 51323 |
| 51543 |
| 51672 |
| 51764 |
| 54482 |
| 54963 |
| 55505 |
| 56040 |
| 56357 |
+-----------+
83 rows in set (0.13 sec)
Dear friends,
Dear friends,
as far as possible I worked on the above list and updated YouTube links from "www.youtube.com/watch?v= (or similar)" to "www.youtube-nocookie.com/watch?v=". But it only worked for embedded videos using the syntax
-->. If the YouTube link is in a text, just as a link, it was not possible to modify these links due to severeal reasons (see list below).
The following changes were not possible or were left
--> it worked well, but a YouTube link in a text was not possible to change to a "non-cookies" way (e.g. see https://www.labdoo.org/node/16915 TED link)
So I finished work as far as it was possible for me and leave the rest to the Labdoo team, thank you.
Ralf, Labdoo (Germany)
The HTML code in the above
The HTML code in the above message is not shown in the list, 3rd dot. So here is a new try...
This code worked well
before:
... video:https://www.youtube.com/watch?v=GKXJR94QIus ...
(or similar)new:
... video:https://www.youtube-nocookie.com/watch?v=GKXJR94QIus ...
Hello team,
Hello team,
Ralf has helped clean up some of the youtube videos but we'd like to ask if you can help cleaning up those belonging to your language.
Also, it's important to follow this rule:
We should remove all youtube URL that are direct text. Instead of using direct URLs, please use the HTML tag:
For instance, any reference to this type of URLs:
https://www.youtube.com/watch?v=mg0VeZdGX0E
Should be changed to:
[video:https://www.youtube-nocookie.com/embed/mg0VeZdGX0E]
Here is the updated list of pages that need to be updated (see my previous message on how to interpret this IDs):
mysql> SELECT entity_id from field_data_body WHERE body_value like "%youtube\.%";
+-----------+
| entity_id |
+-----------+
| 7 |
| 79 |
| 127 |
| 178 |
| 185 |
| 191 |
| 15674 |
| 15675 |
| 15679 |
| 16479 |
| 16501 |
| 16502 |
| 16503 |
| 16915 |
| 18916 |
| 19856 |
| 19911 |
| 20338 |
| 20510 |
| 20814 |
| 22715 |
| 23404 |
| 25563 |
| 26962 |
| 26997 |
| 27094 |
| 30117 |
| 31890 |
| 34436 |
| 35066 |
| 35070 |
| 36869 |
| 37227 |
| 37520 |
| 38027 |
| 38604 |
| 39312 |
| 39333 |
| 39469 |
| 39490 |
| 40650 |
| 40668 |
| 40669 |
| 40670 |
| 40673 |
| 40675 |
| 40770 |
| 41457 |
| 42653 |
| 44669 |
| 46902 |
| 48469 |
| 50883 |
| 51133 |
| 51323 |
| 51543 |
| 51672 |
| 51764 |
| 54482 |
| 56040 |
| 56357 |
+-----------+
61 rows in set (0.44 sec)