From 26c1eb7480ebac853e5ebfdb7e18f57060ae8c03 Mon Sep 17 00:00:00 2001
From: Mathias Brodala <mbrodala@pagemachine.de>
Date: Thu, 17 May 2018 09:13:20 +0200
Subject: [PATCH] [BUGFIX] Add missing docs for youtube no-cookie domain change

The doc file was only added for v7, it must also be added to master
and v8.

Resolves: #85029
Related: #84843
Releases: master, 8.7
Change-Id: I2e372eae6bc90a0da0e441237b087b98319a183e
Reviewed-on: https://review.typo3.org/56986
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Tested-by: Mathias Brodala <mbrodala@pagemachine.de>
---
 ...-UseNo-cookieDomainForYoutubeByDefault.rst | 49 +++++++++++++++++++
 ...-UseNo-cookieDomainForYoutubeByDefault.rst | 49 +++++++++++++++++++
 2 files changed, 98 insertions(+)
 create mode 100644 typo3/sysext/core/Documentation/Changelog/8.7.x/Breaking-84843-UseNo-cookieDomainForYoutubeByDefault.rst
 create mode 100644 typo3/sysext/core/Documentation/Changelog/master/Breaking-84843-UseNo-cookieDomainForYoutubeByDefault.rst

diff --git a/typo3/sysext/core/Documentation/Changelog/8.7.x/Breaking-84843-UseNo-cookieDomainForYoutubeByDefault.rst b/typo3/sysext/core/Documentation/Changelog/8.7.x/Breaking-84843-UseNo-cookieDomainForYoutubeByDefault.rst
new file mode 100644
index 000000000000..5b33829d25cd
--- /dev/null
+++ b/typo3/sysext/core/Documentation/Changelog/8.7.x/Breaking-84843-UseNo-cookieDomainForYoutubeByDefault.rst
@@ -0,0 +1,49 @@
+.. include:: ../../Includes.txt
+
+==============================================================
+Breaking: #84843 - Use no-cookie domain for youtube by default
+==============================================================
+
+See :issue:`84843`
+
+Description
+===========
+
+To improve the privacy of users the renderer for YouTube videos has been changed to use
+the no-cookie domain `www.youtube-nocookie.com` by default. The regular domain `www.youtube.com`
+is used if explicitly set by the following TypoScript configuration:
+
+.. code-block:: typoscript
+
+    lib.contentElement {
+        settings {
+            media {
+                additionalConfig {
+                    no-cookie = 0
+                }
+            }
+        }
+    }
+
+
+Impact
+======
+
+The TypoScript configuration :ts:`lib.contentElement.settings.media.additionalConfig` is used
+as attribute :php:`additionalConfig` of the ViewHelper :php:`\TYPO3\CMS\Fluid\ViewHelpers\MediaViewHelper`.
+
+If no configuration is provided, the domain `www.youtube-nocookie.com` is used.
+
+
+Affected Installations
+======================
+
+Installations which require the usage of the domain `www.youtube.com` or setting cookies by YouTube.
+
+
+Migration
+=========
+
+Use the TypoScript configuration :ts:`lib.contentElement.settings.media.additionalConfig.no-cookie = 0`
+
+.. index:: TypoScript, ext:fluid_styled_content
\ No newline at end of file
diff --git a/typo3/sysext/core/Documentation/Changelog/master/Breaking-84843-UseNo-cookieDomainForYoutubeByDefault.rst b/typo3/sysext/core/Documentation/Changelog/master/Breaking-84843-UseNo-cookieDomainForYoutubeByDefault.rst
new file mode 100644
index 000000000000..284ea8c3eb76
--- /dev/null
+++ b/typo3/sysext/core/Documentation/Changelog/master/Breaking-84843-UseNo-cookieDomainForYoutubeByDefault.rst
@@ -0,0 +1,49 @@
+.. include:: ../../Includes.txt
+
+==============================================================
+Breaking: #84843 - Use no-cookie domain for youtube by default
+==============================================================
+
+See :issue:`84843`
+
+Description
+===========
+
+To improve the privacy of users the renderer for YouTube videos has been changed to use
+the no-cookie domain `www.youtube-nocookie.com` by default. The regular domain `www.youtube.com`
+is used if explicitly set by the following TypoScript configuration:
+
+.. code-block:: typoscript
+
+    lib.contentElement {
+        settings {
+            media {
+                additionalConfig {
+                    no-cookie = 0
+                }
+            }
+        }
+    }
+
+
+Impact
+======
+
+The TypoScript configuration :ts:`lib.contentElement.settings.media.additionalConfig` is used
+as attribute :php:`additionalConfig` of the ViewHelper :php:`\TYPO3\CMS\Fluid\ViewHelpers\MediaViewHelper`.
+
+If no configuration is provided, the domain `www.youtube-nocookie.com` is used.
+
+
+Affected Installations
+======================
+
+Installations which require the usage of the domain `www.youtube.com` or setting cookies by YouTube.
+
+
+Migration
+=========
+
+Use the TypoScript configuration :ts:`lib.contentElement.settings.media.additionalConfig.no-cookie = 0`
+
+.. index:: TypoScript, ext:fluid_styled_content, NotScanned
-- 
GitLab