Project

General

Profile

Actions

Bug #53097

closed

MEDIA / renderType / impossible to use custom renderType for video

Added by Wolfgang Klinger over 10 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2013-10-24
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.1
PHP Version:
5.4
Tags:
Complexity:
medium
Is Regression:
Yes
Sprint Focus:

Description

hiya!
the if structure on line 178 (and following) in sysext/frontend/Classes/ContentObject/MediaContentObject.php always sets $renderType to 'swf',
so it’s impossible to use a custom renderType for video

the problem (imho) is the combination of

178         if ($renderType !== 'qt' && $renderType !== 'embed' && $conf['type'] == 'video') {

and

192             } elseif (isset($conf['file']) && !isset($conf['caption']) && !isset($conf['sources'])) {
193                 $renderType = 'swf';

as a result $renderType is always 'swf' for video
or do I miss something here (guess not)?

possibly related to http://forge.typo3.org/issues/38376


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #38376: class tslib_content_media overwrites custom rendertypeClosed2012-06-25

Actions
Related to TYPO3 Core - Bug #35921: Final usability improvement for the Media ElementClosedSteffen Ritter2012-04-12

Actions
Related to TYPO3 Core - Bug #33357: Media content element doesn't work with YouTube URLsClosedSteffen Ritter2012-01-21

Actions
Actions

Also available in: Atom PDF