Issue Bug Closed

#101319Impossible to not display controls in video

Christian Toffolo 07/11/23, 13:46 updated 07/11/23, 13:51

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.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 1

  1. Christian Toffolo commented and changed status New Closed 07/11/23, 13:51

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

    additionalConfig="{controls:'0'}"