[BUGFIX] Add allow="autoplay; fullscreen" to YouTube/Vimeo iframes 25/57325/2
authorFrans Saris <franssaris@gmail.com>
Fri, 22 Jun 2018 22:28:05 +0000 (00:28 +0200)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Fri, 29 Jun 2018 08:20:08 +0000 (10:20 +0200)
commitc06a12c44b55955207327f8eae448f236caf690a
tree291eb9f4425c8d75d4886e950f63b85dfc6e43f9
parent229652358bc803632e9fb6440ad7bc4d0617196a
[BUGFIX] Add allow="autoplay; fullscreen" to YouTube/Vimeo iframes

With the new chrome auto play policies we need to add a additional allow
attribute to the iframe to support autoplay.

https://developers.google.com/web/updates/2017/09/autoplay-policy-changes

Resolves: #85233
Releases: master, 8.7
Change-Id: I19116a011b410933cf020b5b9606dc32d61e698d
Reviewed-on: https://review.typo3.org/57325
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Sebastian Hofer <sebastian.hofer@marit.ag>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Tested-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
typo3/sysext/core/Classes/Resource/Rendering/VimeoRenderer.php
typo3/sysext/core/Classes/Resource/Rendering/YouTubeRenderer.php
typo3/sysext/core/Tests/Unit/Resource/Rendering/VimeoRendererTest.php
typo3/sysext/core/Tests/Unit/Resource/Rendering/YouTubeRendererTest.php