Project

General

Profile

Feature #63395 ยป videoposter.patch

Werner Trunk, 2014-11-28 11:07

View differences:

typo3/sysext/frontend/Classes/ContentObject/FlowPlayerContentObject.php
} else {
// Video tag with Flash fallback
$conf['params.']['playerFallbackOrder'] = array('html5', 'flash');
// add preview image, html5 poster attribute
$poster = preg_replace('/.[^.]*$/', '.jpg', $conf['sources'][1]);
if (file_exists(PATH_site . $poster)){
$attributes .= ' poster=' . $poster . ' ';
}
$videoTagContent = $videoSources . $videoCaptions;
if (isset($conf['videoflashvars']['url'])) {
$videoTagContent .= '
    (1-1/1)