On Feb 23, 10:57 pm, David Buonomo <[EMAIL PROTECTED]> wrote:
> We want to embed YouTube videos into html pages of an existing site.  When we
> embed the code into the HTML text editor within FarCry, FarCry rips it out.
> Do we need to add the video to the content library first?  Here is the code
> we are using:
>
> <object width="425" height="350"><param name="movie"
> value="http://www.youtube.com/v/KxPFmKGcoXM";>
> </param><param name="wmode" value="transparent"></param><embed
> src="http://www.youtube.com/v/KxPFmKGcoXM";
> type="application/x-shockwave-flash" wmode="transparent" width="425"
> height="350"></embed></object>

This is tinyMCE's doing.  You need to adjust your config.

Full API details available under the tinyMCE API at:
http://tinymce.moxiecode.com/

Off the top of my head you need add something like:
extended_valid_elements: "object[width|height],param[name|
value],embrd[src|type|wmode|width|height]",

Hope that helps,

-- geoff
http://www.daemon.com.au/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to