Issue Feature Closed

#84523Allow preload Tag in Videorenderer

Michi Spandl 03/23/18, 09:13 updated 10/02/18, 10:51

Description

Hi,

it would be nice if I could use the preload (values: auto, none, preload) attribute on the <f:media Viewhelper within the additionalConfig attribute.
It only would be neccessariy to pass it through. In TYPO3\CMS\Core\Resource\Rendering\VideoTagRenderer on Line 97, add preload in foreach:

foreach (['class', 'dir', 'id', 'lang', 'style', 'title', 'accesskey', 'tabindex', 'onclick', 'controlsList','preload'] as $key) {
     if (!empty($options[$key])) {
          $attributes[] = $key . '="' . htmlspecialchars($options[$key]) . '"';
     }
}

Thanks, Michi

Reviews 2