Bug #33090 » media_iframe.diff
typo3_src-4.6.3/typo3/sysext/cms/tslib/content/class.tslib_content_media.php 2012-01-10 12:44:45.460322965 +0100 | ||
---|---|---|
));
|
||
}
|
||
if(substr($url,0,23)=='http://www.youtube.com/'){
|
||
return '<iframe class="youtube-player" type="text/html" width="'.$conf['parameter.']['mmWidth'].'" height="'.$conf['parameter.']['mmHeight'].'" src="'.strtr($url,array('/v/'=>'/embed/')).'" frameborder="0"></iframe>';
|
||
}
|
||
$renderType = isset($conf['renderType.'])
|
||
? $this->cObj->stdWrap($conf['renderType'], $conf['renderType.'])
|
||
: $conf['renderType'];
|