chrisdegrote

Topic: Last issue concerning TinyMCE & Internet explorer

Hey all!

Well thanks again for your help I've got TinyMCE almost 100% working (with you're help). There's a last small (hopefully) issue with embedding flash media in combination with IE (internet explorer). I can poste a job with IE but I can not view it. According to the people of TinyMCE it could be caused by Jobberbase. Meaning that when you place for example

Code:

<object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/0_fPV13lKm4&hl=nl&fs=1&color1=0x234900&color2=0x4e9e00&hd=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/0_fPV13lKm4&hl=nl&fs=1&color1=0x234900&color2=0x4e9e00&hd=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object>

When placing this code thru the HTML option it goes to this code

Code:

<p>
<object width="480" height="385" type="application/x-shockwave-flash">
&nbsp;
</object>
</p>

What do I've got to change to make sure the code for embedded media is displayed (not changed) properly.

I've found out there's should be a plugin "media" on the latest version of  TinyMCE (but apparently it doesn't work properly now). Hope that somebody knows how to fix this small issue.

check it out at and  try it out
http://www.test.werkict.com/post

Thanks for your Time wink!!

links

Re: Last issue concerning TinyMCE & Internet explorer

Hi,

I think I found the problem wink In _includes/function.escape.php, add <param> as tag also, so in the end you should have this:

$GLOBALS[$variable] = $db->real_escape_string(strip_tags($value,'<a><strong><em><ul><p><li><ol><span><img><object><embed><param>'));

Let us know if it works smile

chrisdegrote

Re: Last issue concerning TinyMCE & Internet explorer

Thanks Links cool that did the trick.  It works now perfect and you can edit it now without messing up the code ! Thanx again for your support  big_smile