Feature #37073
closedadditional html5 attributes in new media element
0%
Description
Hi,
I was playing around with the new features in the new media element of Version 4.7 and was wondering about the following…
I was able to to extend the attributes/params list (e.g the 'poster' attribute) in the BE with the hook customMediaParams, but in the FE the htlm5 tag attributes are hardcoded in class tslib_content_FlowPlayer.
As well, the IF conditions in the FOREACH loop "foreach ($this->html5TagAttributes as $attribute)" don't really consider a key/value pair like
'poster' => ' fileadmin/user_upload/Videos/oceans-clip.png'
Am I misunderstanding the concept of the customMediaParams hook or how could one add an attribute that's not in the array html5TagAttributes?
Cheers,
Stephan
Updated by Björn Jacob over 9 years ago
Today I've tried to add a poster Attribute but I was not possible to do it. Is it possible to achieve this functionality, yet?
Updated by Björn Jacob over 9 years ago
I think this ticket is obsolet. As soon as #51042 gets integrated the poster attribute is there.
Updated by Riccardo De Contardi over 8 years ago
- Status changed from New to Closed
I close this in favor of #51042, please continue the discussion there.
If you think that this is the wrong decision, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.