Copyright © 2011 Kaltura Inc.
All Rights Reserved. Designated trademarks and brands are the property of their respective owners.
Use of this web site constitutes acceptance of the Terms of Use and Privacy Policy.
EduVideo.org
I got a "remix failed" error, I went to check out the connection info and found this:
GET==>http://192.168.1.88/frameworks/kalturaCE/kae/ui_conf_id/47401
POST==>http://192.168.1.88/frameworks/kalturaCE/index.php/partnerservices2/setmetadata
There is also a flash error when the kae tries to save?
Any idea's?
---Jeff
The privileges assigned to the session. For an ADMIN type KS this is irrelevant, but for a USER type KS - if the user should have edit privileges on mixes, pass the following value - edit:* (this is api_v2 only)
In api_v2 there was the privileges field, where in api_v3 it was deprecated.
I am using api_v3, is the edit:* still required?
I changed my ks to admin type therefor It shouldn't* matter?
---Jeff
P.s
here is some of my code:
which is called by:
| $admin = 2;
| $user_id = 1;
| $sub_partner_id = 100; // not sure exactly what this is yet
| $secret = "xxxxxx";
| $admin_secret = "xxxxxx";
| $service_url = "http://192.168.1.88/frameworks/kalturaCE";
| // Include kaltura API
| require_once("KalturaClient.php");
| require_once("MyKaltura.class.php");
\|/ $conf = new KalturaConfiguration($user_id, $service_url);
$myKaltura = new kaltura($conf,$user_id,$admin ? $admin_secret : $secret,$admin);
Hi Jeff...
anything new on this after yesterday skype?
Yup, I went through the sample app. that's in the api_v3 folder for the advanced editor... This code works (as expected) :P
$flashVars = array();
$flashVars["partnerId"] = $user_id;
$flashVars["subpId"] = $sub_partner_id;
$flashVars["uid"] = "USERID";
$flashVars["ks"] = $ks;
$flashVars["kshowId"] = -1;
$flashVars["entryId"] = $entryId;
$flashVars["jsDelegate"] = "callbacksObj";
//$editWidget = create_video_editWidget($_GET['mixID']);
$editWidget = '<script>
var params = {
allowscriptaccess: "always",
allownetworking: "all",
wmode: "opaque"
};
var flashVars = '.json_encode($flashVars).';
swfobject.embedSWF("'.$service_url.'/kae/ui_conf_id/47401", "kae", "821px", "680", "9.0.0", false, flashVars, params);
</script>';
However... this doesn't (not sure why...it just doesn't let you save...)
note: the KS is or has already been created...
It looks like to me... (not 100% sure) the sample app. is using api_v2 ? If so, How do you use api_v3 for this?
---Jeff
All fixed... (thanks to Kalturian for the help!)
without the $partner_id, 86400, "edit:*" params the session wasn't being init. to the correct priv. lvl. even if "$type" was set to admin...
However, with the correct params. this is now able to save mix's/roughcuts :P
Thank you for updating Jeff.
Hi Jeff,
So this is not an issue with the KAE (the error is thrown as a consequence to the other errors).
It seems that you created a KS without the edit:* privileges (in order to update a mix you must have the edit:* permissions).
Read introduction to API guide to better understand the KS (Kaltura Session).