You cannot see the flash video in the editor on purpose. It is replaced by dummy image to secure editor's contents and to make sure that clicking (or other interaction) with embedded object doesn't break the editor. Flash can go fullscreen, load lots of data, make noise or anything else that, generally speaking, is undesired while working in the editor.
Once you get data from the editor, your flash is converted to desired markup, i.e.:
<p>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0">
<param name="quality" value="high" />
<param name="movie" value="someFlashToBeLoaded.swf" />
<embed pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="qwe.swf" type="application/x-shockwave-flash"></embed>
</object>
</p>
Just make sure that you get editor's data with CKEDITOR.instances.yourInstance.getData()
. Never directly with element.innerHTML
, $('ckeditor').html()
or similar.
What you have in editor's DOM is not what you get with editor.getData()
. This is because because editor performs advanced processing, filtering and stuff to return a valid HTML, including your flash embedding markup.
See more in docs.