Project

General

Profile

Actions

Bug #99301

closed

Vimeo Autoplay is not working in Chrome

Added by JAKOTA Design Group GmbH over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Start date:
2022-12-07
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
8.0
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:

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


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #99461: Text&Media - local video don´t autoplayClosed2023-01-05

Actions
Related to TYPO3 Core - Bug #96320: YouTube Autoplay is not working in ChromeClosed2021-12-10

Actions
Actions

Also available in: Atom PDF