Bug #99301
closedVimeo Autoplay is not working in Chrome
100%
Description
Hi,
This is a follow up of:
https://forge.typo3.org/issues/96320
Chrome does not allow autoplay of videos if mute option is not set.
https://developer.chrome.com/blog/autoplay/
This can be fixed by providing the mute option if autoplay is set.
/sysext/core/Classes/Resource/Rendering/VimeoRenderer.php
Line 139
Change:
if (!empty($options['autoplay'])) {
$urlParams[] = 'autoplay=1';
}
To:
if (!empty($options['autoplay'])) {
$urlParams[] = 'autoplay=1';
$urlParams[] = 'mute=1';
}
Also consider changing this in the VideoTagRenderer.php
Thanks
Updated by JAKOTA Design Group GmbH almost 2 years ago
- Related to Bug #99461: Text&Media - local video don´t autoplay added
Updated by Georg Ringer almost 2 years ago
- Related to Bug #96320: YouTube Autoplay is not working in Chrome added
Updated by Gerrit Code Review almost 2 years ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77288
Updated by Gerrit Code Review almost 2 years ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77288
Updated by Gerrit Code Review almost 2 years ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77288
Updated by Gerrit Code Review almost 2 years ago
Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77288
Updated by Gerrit Code Review almost 2 years ago
Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77288
Updated by Gerrit Code Review almost 2 years ago
Patch set 6 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77288
Updated by Gerrit Code Review almost 2 years ago
Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77432
Updated by Georg Ringer almost 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset f81bff7010817b63a1fb28411befde74960351ce.
Updated by Benni Mack almost 2 years ago
- Status changed from Resolved to Closed