Issue Bug Closed

#44797Rendering html5 video uses flvplayer for fallback instead of flowplayer

Arjen Hoekema 01/25/13, 10:50 updated 11/10/15, 23:49

Description

It looks like the configuration is not properly merged when using the flowplayer as a fallback for rendering html5 video.

Traced this down to the following lines in ‘class.tslib_content_media.php’ (line 215 in TYPO3 4.7):

switch ($renderType) {
case ‘flowplayer’:
$conf[$conf[‘type’] . ‘.’] = array_merge((array) $conf[‘mimeConf.’][‘flowplayer.’][$conf[‘type’] . ‘.’], $typeConf);
$conf = array_merge((array) $conf[‘mimeConf.’][‘flowplayer.’], $conf);
unset($conf[‘mimeConf.’]);

The configuration should be merged the other way around. This also applies to the rendering of qt case ‘qt’ :
$conf[$conf[‘type’] . ‘.’] = array_merge($conf[‘mimeConf.’][‘swfobject.’][$conf[‘type’] . ‘.’], $typeConf);

Here the rendering of ‘swfobject’ is used instead of ‘mimeConf.qtobject’.

Reviews 0

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