Copyright © 2012 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
Hello,
We've set up KRecord on a web server and configured it to access our trial Kaltura publisher account. The client works perfectly, recording a video via webcam. However, when we attempt to save the video, we get nothing. No popup, no error, no change in behavior or display.
I've attached our code, with the account data intentionally removed.
<?php require_once("KalturaClient.php"); ?>
<?php
//define constants
define("KALTURA_PARTNER_ID", );
define("KALTURA_PARTNER_SERVICE_SECRET", "");
//define session variables
$partnerUserID = '';
$host = "www.kaltura.com";
//construct Kaltura objects for session initiation
$config = new KalturaConfiguration(KALTURA_PARTNER_ID);
$client = new KalturaClient($config);
$ks = $client->session->start(KALTURA_PARTNER_SERVICE_SECRET, $partnerUserID, KalturaSessionType::USER);
//Prepare variables to be passed to embedded flash object.
$flashVars = array();
$flashVars["uid"] = $partnerUserID;
$flashVars["partnerId"] = KALTURA_PARTNER_ID;
$flashVars["ks"] = $ks;
$flashVars["Permissions"] = 1;
$flashVars["host"] = $host;
$flashVars["autoPreview"] = true;
$flashVars["rtmp_host"] = "rtmp://www.kaltura.com:1935";
$flashVars["localeUrl"] = "http://www.kaltura.com/flash/krecord/v1.0.31/locale.xml";
$flashVars["themeUrl"] = "http://www.kaltura.com/flash/krecord/v1.0.8/skin.swf";
?>
var params = {
allowScriptAccess: "always",
allowNetworking: "all",
wmode: "opaque"
};
var flashVars = <?php echo json_encode($flashVars); ?>;
swfobject.embedSWF("http://www.kaltura.com/krecord/ui_conf_id/1130902", "krecord", "400", "300", "9.0.0", "expressInstall.swf", flashVars, params);
function addEntryComplete (addedEntry)
{
var thumbnailUrl = 'http://<?php echo $cdnHost ?>/p/<?php echo $pid ?>/sp/<?php echo $spid ?>/thumbnail/entry_id/' + addedEntry.entryId + '/width/120/height/90';
alert ('your newly created Recording entryId is: ' + addedEntry.entryId);
}
Login to KMC
(http://kmc.kaltura.com/index.php/kmc) -> Settings ->Integration Settings (Here is partner id and subpartner id)
->My User Settings (Here is user name and user id)
Hi,
Did you manage to get this working we are facing the same issue
Thanks Aaron
it sounds like you might be missing the crossdomain.xml file. check your browser console. it will show the error
Hi,
I installed RED 5 server on my dedicated hosting.
Now I want to make record video widget works with my server. so when i record video and save it, it will save on my server so i can get recorded file.
Also from where i can get partner id and sub partner id ? i register at http://www.kaltura.org but cant find such things..
What are the settings i need to do ?
Can anyone help me please ?
Thanks in advance..