How do I get a PlayList standalone URL, via the API?

Hi All,
I know how to upload media, and assign it to a playlist, all with the API. I can’t figure out how to generate a URL to the standalone player page. Like this one - http://www.kaltura.com/tiny/cunf2

Any tips ?
Thanks.

You can use this API:

$shortlinkPlugin = KalturaShortlinkClientPlugin::get($client);
$result = $shortlinkPlugin->shortLink->listAction(null,null);
var_dump($result);

Would return something like the below
[2]=>
object(KalturaShortLink)#91 (10) {
[“id”]=>
string(5) “v2jx0”
[“createdAt”]=>
int(1424368507)
[“updatedAt”]=>
int(1424368507)
[“expiresAt”]=>
NULL
[“partnerId”]=>
int(101)
[“userId”]=>
string(24) "jess.portnoy@kaltura.com"
[“name”]=>
NULL
[“systemName”]=>
string(11) “KMC-PREVIEW”
[“fullUrl”]=>
string(117) "http://54.159.220.35:80/index.php/extwidget/preview/partner_id/101/uiconf_id/23448134/entry_id/0_6ze3eiea/embed/auto?"
[“status”]=>
int(2)
}

So, in this example, the entry is 0_6ze3eiea and tiny URL ID is “v2jx0” so calling:
http://54.159.220.35/tiny/v2jx0

Would return the embed page for it.

Hope this helps,

BTW, we’ll be holding a free webinar on our API:
http://corp.kaltura.com/webinars/live/api-driven-video-platform-key-scalability-and-flexibility
You are most welcome to join,

Thanks Jess. I will see if I can attend. Another quick questions, do you know how to add a Media to a PlayList?

There doesn’t seem to be a KalturaPlayListEntry object.

You are probably looking for this:

$entry = new KalturaPlaylist();

//$entry->playlistType = KalturaPlaylistType::STATIC_LIST;
//$entry->playlistType = KalturaPlaylistType::DYNAMIC;
$entry->playlistContent = ‘’;
// if the content is dynamic, playlistContent is XML, is static, text.
$type = null;
$result = $client->baseEntry->add($entry, $type);

You can see various options and expiriement via the testme console under admin_console/index.php/index/testme

Service would be baseEntry, action would be add

What is the difference between static and dynamic list? Why is the content format different? Which structure is the XML? What do you mean by “TEXT” ? Just a list of strings? Separated by comma? Or spaces? Maybe line ends? WHO KNOWS! More mystery more fun, right?

On a serious note, working with your API is very frustrating. The documentation is extremely lacking. I don’t understand why. A few days investment by one of you developers could improve it 10 fold.

Thanks for your help.