Task #84567
closedUpdate MediaViewHelper.php
0%
Description
Allow additionalAttributes in function render
In some cases, it is useful to call the Render-Fuction with additionalAttributes from your fluid-Template (e.g. by providing a poster-Attribut with a video-Tag like <f:media additionalAttributes="{poster: 'fallback-img.jpg'}" )
Alltough this additionalAttributes ist already registered by the Core at this position, the function render() did not made use of it so far.
This issue was automatically created from https://github.com/TYPO3/TYPO3.CMS/pull/104
Updated by Gerrit Code Review over 6 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56490
Updated by Gerrit Code Review over 6 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56490
Updated by Anja Leichsenring over 6 years ago
- Status changed from Under Review to Rejected
put additional attributes for the tag into additionalConfig parameter.
Updated by Stefan Froemken over 5 years ago
Solved with TYPO3 9.0: https://forge.typo3.org/issues/81741
PS: As f:media renders videos as <iframe> it is not possible to change thumbnail with help of poster-Attribute. poster-Attribute is only allowed for <video>-Tag.
PPS: There is no need anymore to put additionalAttributes into additionalConfig.
Stefan