Kaltura and TinyMCE

5 replies [Last post]
Joined: 11/25/2009
Points: 12

I have posted this as an answer to another post, but I've seen nobody followed the conversation there, so I decided to post it as a new entry.

I have a problem with Kaltura when inserting a video at TinyMCE WYSIWYG editor. If I do it in the code view, it works fine, I publish the post, and the video player works great at the front-end of the site. However, if I do the same thing but clicking on "Add interactive video" icon when having the Visual tab enabled, the resulting shortcode gets corrupted, and I get an empty player at the frontend. Here is a sample of how it looks when I insert the video from the HTML view:

[kaltura-widget wid="0_y11g78s8" width="400" height="365" type="dark" addPermission="-1" editPermission="-1" /]

And this is how it looks when I do it from the Visual view

[kaltura-widget wid="" width="400" height="365" addpermission="" editpermission="" /]

It looses the values for wid, addpermission and editpermission parameters.

If I at some point after inserting the code from the code view, go to the Visual View and back, the code gets corrupted the same way. Looks like TinyMCE does not work right with Kaltura. I've seen there is a file called kaltura_tinymce.js, that seems to handle the kaltura widget shortcode, but the code is too cryptic for me, I cannot figure out how it works.

I'm using Wordpress 2.7.1 with the previous version of All in One Video pack, with KMC. KMC control panel shows the uploaded videos just fine, and no matter which of the two options I use to upload videos, the videos get correctly uploaded. It is the shortcode insertion into the post through TinyMCE which seems to work wrong.

Unfortunately, I cannot upgrade everything to the newest version because we don't have time for that. We need to launch this week. We waited for about 2 months for the latest version to come out, and since there were no news about that, we had to go with WP 2.7.1, and setup all the other plugins based on that version.

Any help will be apreciated. Thanks.

Joined: 11/25/2009
Points: 12

Hi Guys at Kaltura,

could you please check this and let me know what we're doing wrong? It seems I'm not the only one that found this problem, check this post: http://www.kaltura.org/videos-not-working-anymore

Thanks!

Joined: 03/29/2009
Points: 764

Hi,

We have just released a new version (version 2.4.1) that might help in solving this. Can you give it a try?

Joined: 11/25/2009
Points: 12

Will that version work on Wordpress 2.7.1? We have other plugins that are limited and we cannot upgrade Wordpress to the latest version without affecting other areas of the site.

Thanks.

Joined: 11/25/2009
Points: 12

What about updating just kaltura_tinymce.js file from that new version? Is that possible, or will we have trouble doing that?

Joined: 03/29/2009
Points: 764

Can't be really sure without trying... anyway, the new version should be backward compatible.