[TYPO3-dev] CType Multimedia

Typo3 tapio.markula at xetpoint.fi
Fri May 25 19:46:23 CEST 2007


Martin Ficzel

>> standalone XCLASS extension. 

ok

I added

			
$parArray['value']='value="'.$GLOBALS['TSFE']->absRefPrefix.$incFile.'"';

...
and set content rendering this way:
  else {
$content ='<object '.$parArray['classid'].' '.$parArray['codebase'].'
'.$parArray['height'].' '.$parArray['width'].'>';
$content.='<param name="movie" '.$parArray['value'].' />';
$content.='<param name="quality" '.$parArray['quality'].' />';
					unset($parArray['classid'],$parArray['codebase'],$parArray['value']);
$content .= '<embed '.implode(' ',$parArray).'></embed>';
$content .= '</object>';

<embed doesn't render object related stuff.


Adding for example following parameters
width=205
height=354
classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000
codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0

I get desired result.

I had already XCLASS for the needed core file.




More information about the TYPO3-dev mailing list