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
Hi I have download and uploaded to my server and I edit the file index.template.php
$uid = "anonymous";
$uname = "anonymous";
$pid = "mypid";
$spid = "myspid";
$secret = "I am not sure is this User seceret or admin secret";
$entryid = "no idea about this";
please have a look on following url:
http://www.srihanda.com/kae/html-template/index.template.php
$entryid = "xe7qqoj0gg";//entry for the editor to load (must be a mix/roughcut) you have to have that if you want to have the editor load up...
Could you explain your issue?
---Jeff
HI Jeff,
Thanks for your help I really appriciate I am trying to make KAE to work I did edit the the varible which is needed to load the KAE
$uid = "anynon";
$uname = "anynon";
$pid = "63892";
$spid = "6389200";
$secret = "ff2e449ee471459c88dfdeff4475da05";
$entryid = "xe7qqoj0gg";
$entryversion = "-1";
$host = "www.kaltura.com";
$debugmode = "1";
$uiConfId = "kae_generic_generic.xml";
Its not loading the KAE please let me know where i made the mistake
Are you trying to compile or embed the KAE?
If your compiling and using kalturaCE change your host var to point to your server (assuming that you've already established a kaltura session via some client library)
---Jeff
All I am trying to do is just embedding the KAE in to the site, still could not make it work and also there is no clear guide or descrtiption available on the site.
Here is a simple setup for embedding the KAE...
goto: http://code.google.com/p/swfobject/
and pick up the latest swfobject script...
there is no clear guide or description available on the site.
Yes, It seems to be scattered all over the place if and when It does exist...
--Jeff
<?php
require_once("kaltura_client.php");
$uid = "anonymous";
$uname = "anonymous";
$pid = "mypartnerid";
$spid = "myspid";
$secret = "mysecret";
$entryid = "entryid";
$entryversion = "-1";
$host = "www.kaltura.com";
$debugmode = "1";
$uiConfId = "kae_generic_generic.xml";
$config = new KalturaConfiguration($pid, $spid);
$config->serviceUrl = $host;
$client = new KalturaClient($config);
$user = new KalturaSessionUser();
$user->userId = $uid;
$user->screenName = $uname;
$result = $client->startSession($user, $secret, false, "edit:*");
$ks = @$result["result"]["ks"];
print_r($result);
?>
Advanced Editor - Droga5 - Net10 demo
var callbacksObj = {
publishHandler:afterPublishHandler,
closeHandler:closeEditorHandler
};
function afterPublishHandler (Obj)
{
alert("<= save & publish =>\nroughcut modified: " + Obj.modified +
"\nroughcut saved: " + Obj.saved);
}
function closeEditorHandler (Obj) {
alert("<= close editor =>\nroughcut modified: " + Obj.modified +
"\nroughcut saved: " + Obj.saved);
}
if (swfobject.hasFlashPlayerVersion("9.0.0")) {
var fn = function() {
//${width}
//${height}
var att = { data:"${swf}.swf", width:"825", height:"672" };
var par = { flashvars:"host=<?php echo($host); ?>" +
"&ks=<?php echo($ks); ?>" +
"&partnerId=<?php echo($pid); ?>" +
"&subpId=<?php echo($spid); ?>" +
"&uid=<?php echo($uid); ?>" +
"&entryId=<?php echo($entryid); ?>" +
"&entryVersion=<?php echo($entryversion); ?>" +
"&debugMode=<?php echo($debugmode); ?>" +
"&uiConfId=<?php echo($uiConfId); ?>" +
"&bgColor=cccccc" +
"&jsDelegate=callbacksObj",
allowScriptAccess:"always",
allowfullscreen:"true",
bgcolor:"cccccc"};
var id = "content";
var myObject = swfobject.createSWF(att, par, id);
};
swfobject.addDomLoadEvent(fn);
}
Alternative content
THis what my current script look like I have upladeted swobject to 2.2 still its not working properly.
Hi Guys,
Array ( [result] => Array ( [ks] => NWIzYzM3NzZkM2Q2ODQ1YmQ0NzNiYjI3NjA2NTViZGZmMjE3Y2JjNXw2Mzg5Mjs2Mzg5MjsxMjU2Mzg1OTM0OzA7MTI1NjI5OTUzNC42Mjk0O2Fub255bW91cztlZGl0Oio= [partner_id] => 63892 [subp_id] => 6389200 [uid] => anonymous [serverTime] => 1256299534 ) [debug] => Array ( [sigtype] => 1 [signature] => f499be3cd0e0b167bae2bc194f598ab8 [execute_impl_time] => 0.000128984451294 [execute_time] => 0.0164730548859 [total_time] => 0.01666784286499 ) )
I am waiting for a response for my last thread I have moved my files to following domain and I manged to sort those errors but still KAE is not loading according to the arrays KEA connected with www.kalutura.com please find the url below
http://www.askwebhosts.com/kae/html-template/index.template.php
any one can help me to sort this issue??