Embedding media through tinymce advanced - issues in IE

Embedding media un your blog is easy with tinymce advanced. You can embed youtube videos real easy using the Insert/edit embedded media button.

The results look great in Firefox, Chrome, Safari... Not so much in IE6 or IE7. The videos appear broken. I figured out the reason this happens is because the object code generated by the application in order to display the video is:

<object classid="d27cdb6e-ae6d-11cf-96b8-444553540000" ...

Which renders fine in mozilla and webkit based browsers.

For it to work in IE this code should be:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" ...

Does anyone know WHERE in the application do I have to tweak the code for it to include the clsid in the classid?



  • I grep'd the source code and the only place I could find d27... was in mod/tinymce/tinymce/jscripts/tiny_mce/plugins/media on line 134.  It looks like an easy fix as long as mozilla and webkit don't mind the "clsid:" in front.

    Ideally this could be fixed upstream in the tinymce plugin as it seems like a fairly important bug.

  • I finally fixed by commenting out the classid parameter of the object tag in start.php of the tinymce advanced plugin . Now the videos render fine in IE6 and IE7. Tinymce  advanced in available here