#84523Allow preload Tag in Videorenderer
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