[TYPO3-dev] CType Multimedia
JoH asenau
info at cybercraft.de
Fri May 25 20:44:12 CEST 2007
>>> 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.
Maybe this one could help:
http://alistapart.com/articles/flashsatay
According to the author <embed> seems to be "oldschool" NS style _and_
invalid for XHTML output. So <object> with a proper type should be the way
to go, since TYPO3 claims to be XHTML compliant when using core elements.
Just my 2 cents
Joey
--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
openBC/Xing: http://www.cybercraft.de
T3 cookbook: http://www.typo3experts.com
More information about the TYPO3-dev
mailing list