Index: typo3/sysext/cms/tslib/class.tslib_content.php =================================================================== --- typo3/sysext/cms/tslib/class.tslib_content.php (revision 8265) +++ typo3/sysext/cms/tslib/class.tslib_content.php (working copy) @@ -2629,15 +2629,15 @@ if (t3lib_div::inList('au,wav,mp3',$fileinfo['fileext'])) { } if (t3lib_div::inList('avi,mov,mpg,asf,wmv',$fileinfo['fileext'])) { - $parArray['width'] = 'width="' . ($conf['width'] ? $conf['width'] : 200) . '"'; - $parArray['height'] = 'height="' . ($conf['height'] ? $conf['height'] : 200) . '"'; + $parArray['width'] = 'width="' . (intval($conf['width']) ? intval($conf['width']) : 200) . '"'; + $parArray['height'] = 'height="' . (intval($conf['height']) ? intval($conf['height']) : 200) . '"'; } if (t3lib_div::inList('swf,swa,dcr',$fileinfo['fileext'])) { $parArray['quality'] = 'quality="high"'; } if (t3lib_div::inList('class',$fileinfo['fileext'])) { - $parArray['width'] = 'width="' . ($conf['width'] ? $conf['width'] : 200) . '"'; - $parArray['height'] = 'height="' . ($conf['height'] ? $conf['height'] : 200) . '"'; + $parArray['width'] = 'width="' . (intval($conf['width']) ? intval($conf['width']) : 200) . '"'; + $parArray['height'] = 'height="' . (intval($conf['height']) ? intval($conf['height']) : 200) . '"'; } // fetching params