Fixed - Using Wordpress All In One Video Pack working with KalturaCE!

3 replies [Last post]
Joined: 02/23/2010
Points: 10

Man this was a pain and I have not seen a fix for this online at all. Anyway, I have it tested and working with my website being hosted on a different server than my KalturaCE server. I hope it works for you who have been having issues.

1. Make the in the settings.php file to point to your KalturaCE server in /wp-content/plugins/all-in-one-video-pack. Change these two lines to your servers:
define("KALTURA_SERVER_URL", "http://yourdomain.com");
define("KALTURA_CDN_URL", "http://yourdomain.com");

Don't forget to save :)

2. You need access to your Wordpress SQL Database (PHPMyAdmin is a very good choice).

3. Look for the wp_options table and select it.

4. Find the following entries and modify them with your correct information. You need to create a publisher in the admin settings area, and then login to the kmc side with the username and password that you have for it.

kaltura_partner_id < Your Partner ID for the login name below (Mine was 100)
kalture_subp_id < Your Subpartner ID for the login name below (Mine was 10000) : These two might only be available under the admin area.
kaltura_secret < User Secret code as found when logged into KMC
kaltura_admin_secret < Admin Secret code as found when logged into KMC
kaltura_cms_user < Username(email address) you created under the Publisher/Partner area in Admin.
kaltura_cms_password < Password assigned to above user.

Make sure you save each field after editing. Go back into Wordpress and test. Please post here if it works for you.

I think they would prefer us to use the hosted service so the KalturaCE integration hasn't really been a top priority. These settings can easily be added the settings.php file or even the Wordpress plugin itself so the fields can be entered from Wordpress. I have had the same issues with Joomla, but that one is still causing me issues.
In all honesty, this is an easy fix for the Kaltura folks.

Corey

Joined: 10/05/2010
Points: 2

Yes you can do this the way you described above (thanks for that), but there's also a more simple way to do it without manipulating the database directly. Besides "Get a Partner ID" there's an option "Already have a Partner ID" or something like that (don't remember, sorry) so following that link you can give your partner ID, email and password, and the plugin does the rest for you. I've tried it and it worked for me. still have to edit settings.php by yourself.

In All in One Video Pack Settings page the "Login to the Kaltura Management Console (KMC)" link still references kaltura.com as it's hardcoded in wp-content/plugins/all-in-one-video-pack/admin/kaltura_admin_partner_info_form.php line 83 but "http://kaltura.com" can be replaced with "<?php echo KALTURA_SERVER_URL ?>" for working correct.

Joined: 02/23/2010
Points: 10

Thanks for the post, though unfortunately that didn't work for me no matter what I tried. From what I read in the forums, using KalturaCE with Wordpress only if they were located on the same server. I just figured if others were experiencing the same issues, I would share what I found.

Joined: 11/05/2009
Points: 338

I got it to work by simply altering those two PHP variables in the settings file, and then clicking "Already have a publisher ID" and then entering in my publisher details.

Check out http://public.exseven.com/wordpress/?p=8 for a demonstration.