I have set up a new inline template so that editors can add Youtube (or other) embedded content via the Editlive field by inserting an inline variant (RX 7.2 btw).
I tried with both the Iframe and Embed as I was not getting results with the iframe.
When previewing a Video content type with this template it works fine and you can see the video BUT when it is added to the Editlive field within a page and previewed, the code is removed by RX and neither the video or the Youtube code is visible.
There is a patch in QA that eliminates a good deal of the text processing that we used to do on Edit Live fields that caused this type of problem. Have you tried wrapping the iframe or object tag in a div? Ephox seems to want a container in some of these types of scenarios.
-n
[QUOTE=chrisclancy;20950]Hi,
I have set up a new inline template so that editors can add Youtube (or other) embedded content via the Editlive field by inserting an inline variant (RX 7.2 btw).
I tried with both the Iframe and Embed as I was not getting results with the iframe.
When previewing a Video content type with this template it works fine and you can see the video BUT when it is added to the Editlive field within a page and previewed, the code is removed by RX and neither the video or the Youtube code is visible.
You can keep the WYSIWYG from stripping out the iframe by adding some dummy content in between the opening and closing iframe tags. A non-breaking space ( ) works.