Project

General

Profile

Actions

Bug #101319

closed

Impossible to not display controls in video

Added by Christian Toffolo 10 months ago. Updated 10 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2023-07-11
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The simplest way to not display controls in HTML5 video it to not add the "controls" attribute at all to the video element.

\TYPO3\CMS\Core\Resource\Rendering\VideoTagRenderer renders the "controls" attribute in any case, making it harder to not display controls.

Actions #1

Updated by Christian Toffolo 10 months ago

  • Status changed from New to Closed

Nevermind, my mistake.
To not render 'controls' attribute, one must set f:media with:

additionalConfig="{controls:'0'}" 

Actions

Also available in: Atom PDF