Issue Feature Closed

#37073additional html5 attributes in new media element

Stephan Gruber 05/10/12, 18:03 updated 08/13/15, 14:58

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

Reviews 0

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