[TYPO3-RTE] parse embed to google video

Unai Aizpurua unai at alambre.net
Thu Feb 23 16:38:26 CET 2006


Hi All,

Trying to configure the posibility os add google video in tt_news.

In htmlarea in texto mode, the code inserted is this:

<embed style="width:400px; height:326px;" id="VideoPlayback" 
align="middle" type="application/x-shockwave-flash" 
src="http://video.google.com/googleplayer.swf?videoUrl=http%3A%2F%2Fvp.video.google.com%2Fvideodownload%3Fversion%3D0%26secureurl%3DlQAAAE72nqDZ8Ny3br49NUuXst_49wrIuGC1HgOSaX4C3HctF1LFR5Py8vQHCxvzSb-amz4pDMj2Z1MzT3JYRp-ilVQZ3CA4ZXScxlz7mERgInRHyyDc13KPNd-3QioK5plxQeI0LZjQodsKeC-6qWQLJCD3Tx8fZibhp65eRiYmT9rNwM8giHMxC2kqLzD5bF8iqoD8BmgJUOpquO6Ba5PgHX8%26sigh%3D5mp08oYueK9aPZY0wjmBEFhfp3A%26begin%3D0%26len%3D244160%26docid%3D-6904942960156708471&thumbnailUrl=http%3A%2F%2Fvideo.google.com%2FThumbnailServer%3Fcontentid%3D60001eb24517712f%26second%3D5%26itag%3Dw320%26urlcreated%3D1140541401%26sigh%3Dp6YN3yZ8S6Oh6fFR7KpArWQyZ7U&playerId=-6904942960156708471&playerMode=embedded" 
allowScriptAccess="sameDomain" quality="best" bgcolor="#ffffff" 
scale="noScale" wmode="window" salign="TL" > </embed>

but when is saved, gets parsed like:

&lt;embed style="width:400px; height:326px;" id="VideoPlayback" 
align="middle" type="application/x-shockwave-flash" 
src="http://video.google.com/googleplayer.swf?videoUrl=http%3A%2F%2Fvp.video.google.com%2Fvideodownload%3Fversion%3D0%26secureurl%3DlQAAAE72nqDZ8Ny3br49NUuXst_49wrIuGC1HgOSaX4C3HctF1LFR5Py8vQHCxvzSb-amz4pDMj2Z1MzT3JYRp-ilVQZ3CA4ZXScxlz7mERgInRHyyDc13KPNd-3QioK5plxQeI0LZjQodsKeC-6qWQLJCD3Tx8fZibhp65eRiYmT9rNwM8giHMxC2kqLzD5bF8iqoD8BmgJUOpquO6Ba5PgHX8%26sigh%3D5mp08oYueK9aPZY0wjmBEFhfp3A%26begin%3D0%26len%3D244160%26docid%3D-6904942960156708471&thumbnailUrl=http%3A%2F%2Fvideo.google.com%2FThumbnailServer%3Fcontentid%3D60001eb24517712f%26second%3D5%26itag%3Dw320%26urlcreated%3D1140541401%26sigh%3Dp6YN3yZ8S6Oh6fFR7KpArWQyZ7U&playerId=-6904942960156708471&playerMode=embedded" 
allowScriptAccess="sameDomain" quality="best" bgcolor="#ffffff" 
scale="noScale" wmode="window" salign="TL" &gt; &lt;/embed&gt;

I set this on TS Setup:

lib.parseFunc.nonTypoTagStdWrap >
lib.parseFunc.tags.link.typolink.target >
lib.parseFunc.externalBlocks=embed
lib.parseFunc.externalBlocks.embed.stdWrap.HTMLparser=0
lib.parseFunc.externalBlocks.embed.stdWrap.HTMLparser.keepNonMatchedTags=1
lib.parseFunc.allowTags = table, tbody, tr, th, td, col, h1, h2, h3, h4, 
h5, h6, div, p, br, span, ul, ol, li, pre, blockquote, strong, em, b, i, 
u, sub, sup, strike, a, link, img, nobr, hr, tt, q, cite, abbr, acronym, 
address, object, embed, param, map, area
lib.parseFunc_RTE >
lib.parseFunc_RTE < lib.parseFunc

What is supposed to be wrong?

Thanks in advance.

Unai Aizpurua.
Alambre Estudio.



More information about the TYPO3-project-rte mailing list