Bug #66853

HTML5 video tag attributes

Added by Felix Herrmann 3 months ago.

Status:New Start date:2015-05-08
Priority:Should have Due date:
Assigned To:- % Done:

0%

Category:Frontend Spent time: -
Target version:next-patchlevel
TYPO3 Version:6.2 Is Regression:No
PHP Version: Sprint Focus:
Complexity:easy

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

related to Core - Feature #61799: Improve the handling of media files Under Review 2014-09-22

Also available in: Atom PDF