Hi All,
I use FCKEditor 2.4.3, Mozilla Firefox 2.0.0.6 and IE 6. I use the Flash tool to insert flash code, FCKeditor generates the code:
<p><embed type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" src="/img/wiki_up/newservicelist.swf" play="true" loop="true" menu="true"></embed> </p>
When i post the content to another place, Firefox will strip off the <embed> </embed> tag and give
<p></p>
.
I follow some posts' advice to write the code in fckconfig.js:
FCKConfig.ProtectedSource.Add( /<embed[\s\S]*?\/embed>/gi ) ; // <embed> tags.
FCKConfig.ProtectedSource.Add( /<object[\s|\S]+?<\/object>/gi ) ;
But, problem still remains. I try on IE, same problem also.
Anybody can help me?
Liang Ee Hang
Re: Insert Flash <embed> tag Problem
I try on the php code in FCKEditor with the code in fckconfig.js:
The ProtectedSource works very well and the php code <? ?> is untouched and preserved.
Liang Ee Hang
Re: Insert Flash <embed> tag Problem
I found it is caused by coding in Tikiwiki CMS.
So, there is no problem to FCKEditor's insert flash feature.
Liang Ee Hang
Re: Insert Flash <embed> tag Problem
The <embed> tag is deprecated, and should no longer be used. I know that popular sites tell you to use it when they give you the code, but all that you need from them (Google Video, You Tube, etc.) is the movie source, and the dimensions. Here is an excellent article on why and how to show video on a site without the old embed tag: 'http://www.alistapart.com/articles/byebyeembed/'.