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
Добрый день. Такая проблема. При вызове метода updateContent() получаю exception.
Error:
Action "updateContent" does not exists for service "media"
Sample code:
$startTime = 100;
$endTime = 3000;
$clipDuration = $endTime - $startTime;
// Create New Clip
$operation1 = new KalturaClipAttributes();
$operation1->offset = $startTime;
$operation1->duration = $clipDuration;
// Add New Resource
$resource = new KalturaOperationResource();
$resource->resource = new KalturaEntryResource();
$resource->resource->entryId = $entryId;
$resource->operationAttributes = array($operation1);
$client->media->updateContent($entryId, $resource);
Seems like you're using a client library with the wrong server version.
you should always download the client library from the server you work on (myserver/api_v3/testme/client-libs.php)
I use:
Kaltura server: 3.0.0
PHP: 5.3.5-1ubuntu7.4
API: 3.1.4 for PHP5
Good afternoon. Such a problem. When you call updateContent () get the exception.
Error:
Action "updateContent" does not exists for service "media"
Sample code:
$startTime = 100;
$endTime = 3000;
$clipDuration = $endTime - $startTime;
// Create New Clip
$operation1 = new KalturaClipAttributes();
$operation1->offset = $startTime;
$operation1->duration = $clipDuration;
// Add New Resource
$resource = new KalturaOperationResource();
$resource->resource = new KalturaEntryResource();
$resource->resource->entryId = $entryId;
$resource->operationAttributes = array($operation1);
$client->media->updateContent($entryId, $resource);