KCW freezes on upload of video

2 replies [Last post]
Joined: 02/23/2010
Points: 7

Hi all!
I'm using trial account did everything as in KCW integration guide, the flash loads and i was able to upload jpg and it shows up in media list, but when i'm trying to upload avi and it uploads (i watched it on my network monitor, seeing bytes flowing) but after that nothing never happened, all settings are default and i have no clue what's happening.

Joined: 02/23/2010
Points: 7

ok, here's my setup, i'm using php5 client, php5.3.1, apache 2.2, obviously i do it on localhost.

require 'KalturaClient.php';
define('KALTURA_PARTNER_ID', '');
define('KALTURA_SUBP_ID', '');

define('KALTURA_PARTNER_WEB_SERVICE_SECRET', '');
$partnerUserID          = 'ANONYMOUS';
$config           = new KalturaConfiguration(KALTURA_PARTNER_ID, KALTURA_SUBP_ID);
$client           = new KalturaClient($config);
$ks               = $client->session->start(KALTURA_PARTNER_WEB_SERVICE_SECRET, $partnerUserID, KalturaSessionType::ADMIN);
$client->setKs($ks);
$user = new KalturaUser();
$user->id = "31339";
$user->screenName = "anothertest";

$flashVars = array();
$flashVars["partnerId"]         = KALTURA_PARTNER_ID;
$flashVars["subpId"]            = KALTURA_SUBP_ID;
$flashVars["uid"]               = $user->id;
$flashVars["ks"]                = $ks;
$flashVars["kshowId"]           = -2;
$flashVars["afterAddEntry"]     = "onContributionWizardAfterAddEntry";
$flashVars["showCloseButton"]   = false;

<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
var params = {
        allowScriptAccess: "always",
        allowNetworking: "all",
        wmode: "opaque"
};
                       
var flashVars = <?php echo json_encode($flashVars); ?>;
swfobject.embedSWF("http://www.kaltura.com/kcw/ui_conf_id/1000198", "kcw", "680", "360", "9.0.0", false, flashVars, params);

function onContributionWizardAfterAddEntry(entries) {
        alert("Added " + entries.length + " entries");
        for(var i = 0; i < entries.length; i++) {
                alert("entries["+i+"] = " + entries[i].entryId);
        }
}
</script>
<div id="kcw"></div>

i tried audio, video, small files, big files, nothing works, please someone give me any idea.

Joined: 02/23/2010
Points: 7

and now i get Add entry failed on photos