Actions
Feature #37073
closedadditional html5 attributes in new media element
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2012-05-10
Due date:
% Done:
0%
Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
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
Actions