I am trying to embed a video from the ted.com site to my site using CKEditor. When I try to do this on my localhost it works fine. I have uploaded the same code to my live site but when I try to do the same thing my object tag gets converted to an invalidtag.
<object height="374" width="526"><param name="movie" value="http://video.ted.com/assets/player/swf/EmbedPlayer.swf" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="wmode" value="transparent" /><param name="bgColor" value="#ffffff" /><param name="flashvars" value="vu=http://video.ted.com/talk/stream/2008/Blank/AlGore_2008-320k.mp4&su=http://images.ted.com/images/ted/tedindex/embed-posters/AlGore-2008.embed_thumbnail.jpg&vw=512&vh=288&ap=0&ti=243&lang=&introDuration=15330&adDuration=4000&postAdDuration=830&adKeys=talk=al_gore_s_new_thinking_on_the_climate_crisis;year=2008;theme=bold_predictions_stern_warnings;theme=a_greener_future;event=TED2008;tag=Global+Issues;tag=Science;tag=activism;tag=climate+change;tag=politics;&preAdTag=tconf.ted/embed;tile=1;sz=512x288;" /><embed allowfullscreen="true" allowscriptaccess="always" bgcolor="#ffffff" flashvars="vu=http://video.ted.com/talk/stream/2008/Blank/AlGore_2008-320k.mp4&su=http://images.ted.com/images/ted/tedindex/embed-posters/AlGore-2008.embed_thumbnail.jpg&vw=512&vh=288&ap=0&ti=243&lang=&introDuration=15330&adDuration=4000&postAdDuration=830&adKeys=talk=al_gore_s_new_thinking_on_the_climate_crisis;year=2008;theme=bold_predictions_stern_warnings;theme=a_greener_future;event=TED2008;tag=Global+Issues;tag=Science;tag=activism;tag=climate+change;tag=politics;&preAdTag=tconf.ted/embed;tile=1;sz=512x288;" height="374" pluginspace="http://www.macromedia.com/go/getflashplayer" src="http://video.ted.com/assets/player/swf/EmbedPlayer.swf" type="application/x-shockwave-flash" width="526" wmode="transparent"></embed></object>
Re: CKEditor is automatically reformatting my HTML code
But I don't really know anything about how to change that.