Project

General

Profile

Actions

Bug #66853

closed

HTML5 video tag attributes

Added by Felix Herrmann almost 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2015-05-08
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

Description

If you try to add to the html5 media element the attribute preload="none", it doesn't show up on the frontend.
In /sysext/frontend/Classes/ContentObject/FlowPlayerContentObject.php between the lines 389-393:

        foreach ($this->html5TagAttributes as $attribute) {
            if ($conf['attributes.'][$attribute] === 'true' || $conf['attributes.'][$attribute] === strToLower($attribute) || $conf['attributes.'][$attribute] === $attribute) {
                $attributes .= strToLower($attribute) . '="' . strToLower($attribute) . '" ';
            }
        }

The attribute preload is not allowed with the value "none" and the custom value will not be used.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #61799: Improve the handling of media filesClosedFrans Saris2014-09-22

Actions
Actions

Also available in: Atom PDF