Project

General

Profile

Actions

Feature #84523

closed

Allow preload Tag in Videorenderer

Added by Michi Spandl over 6 years ago. Updated about 6 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

Actions

Also available in: Atom PDF