Issue Bug Closed

#66853HTML5 video tag attributes

Felix Herrmann 05/08/15, 12:18 updated 11/10/15, 23:35

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.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.