Actions
Bug #66853
closedHTML5 video tag attributes
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.
Actions