Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML5 video tag attributes #3

Open
georgringer opened this issue Nov 10, 2015 · 0 comments
Open

HTML5 video tag attributes #3

georgringer opened this issue Nov 10, 2015 · 0 comments

Comments

@georgringer
Copy link
Contributor

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.

copy of https://forge.typo3.org/issues/66853

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant