Issue Bug Closed

#53097MEDIA / renderType / impossible to use custom renderType for video

Wolfgang Klinger 10/24/13, 17:07 updated 11/11/15, 00:02

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

Reviews 0

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