[TYPO3-german] TYPO3 CMS 4.7 Beim Media Element "Video" das poster-Attribut hinzufügen
    David Gurk 
    dgurk at medienwerft.de
       
    Mon Oct  8 16:27:04 CEST 2012
    
    
  
Hi,
gibt es eine Möglichkeit, die dem Redakteur ermöglicht, dem Video ein Vorschaubild hinzuzufügen?
In "class.tslib_content_flowplayer.php" taucht das "poster"-Attribut leider nicht auf.
Dies schaut so aus, als wenn es leider nur die Möglichkeit per TypoScript gibt:
<code>
// Assemble audio/video tag attributes
$attributes = '';
if (is_array($conf['attributes.'])) {
    t3lib_div::remapArrayKeys($conf['attributes.'], $typeConf['attributes.']['params.']);
}
foreach ($this->html5TagAttributes as $attribute) {
    if ($conf['attributes.'][$attribute] === 'true' || $conf['attributes.'][$attribute] === strToLower($attribute) || $conf['attributes.'][$attribute] === $attribute) {
        $attributes .= strToLower($attribute) . '="' . strToLower($attribute) . '" ';
    }
}
</code>
    
    
More information about the TYPO3-german
mailing list