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 #1

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?

Actions #2

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.

Actions #3

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.

Actions

Also available in: Atom PDF