Feature #84523

Allow preload Tag in Videorenderer

Added by Michi Spandl almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Fluid
Target version:
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

Also available in: Atom PDF