Project

General

Profile

Actions

Feature #37073

closed

additional html5 attributes in new media element

Added by Stephan Gruber almost 12 years ago. Updated over 8 years ago.

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


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Feature #63395: Html5 video poster preview imageClosedMichael Oehlhof2014-11-28

Actions
Related to TYPO3 Core - Feature #67455: Video Content Element (mediace) needs a poster image. ClosedMichael Blunck2015-06-15

Actions
Has duplicate TYPO3 Core - Bug #44801: Add possibility for a "poster" to html5 videoClosed2013-01-25

Actions
Actions

Also available in: Atom PDF