Actions
Feature #84523
closedAllow preload Tag in Videorenderer
Start date:
2018-03-23
Due date:
% Done:
100%
Estimated time:
PHP Version:
Tags:
video, videorenderer, preload
Complexity:
easy
Sprint Focus:
On Location Sprint
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
Actions