Expired URL

4 replies [Last post]
Joined: 08/30/2011
Points: 65

Hi guys,

There is a way to get a permanent URL for my videos and thumbnails?

Kaltura is on one server and our website is on a other. It's to long each time to ask for all the video's data (size, duration, name, thumbnail url, video url, etc... ) . So I mad a cache system that will preserve the video's data on the website after the first load of the video.

My problem is that the URL expires. So I must always "refresh" the cache each 2-3 days. I'm doom with a cron job or there is a way to get a permanent URL for my video? Or can I change myself in Kaltura the expiration duration?

Thanks,

Joined: 01/05/2009
Points: 1697

Are you looking for thumbnail URLs or video data URLs? - your message above seem to relate to both...

To get the thumbnail URL use this -
http://www.kaltura.org/kaltura-thumbnail-api-guide

Joined: 08/30/2011
Points: 65

Yes, i'm looking for thumbnail URLs and video data URLs.

Thanks for the thumnail URL, I understand better how it works now. I was using the thumbAsset object to get the url but it was always expiring after 1 day.

For the video URL. Their is a difference between the download URL and data URL, right? The difference is that the download url will expire?

Is this secure that I us the data URL to embed my videos on a jwplayer? (yeah i'm not using the kaltura player because of some problems on mobiles).

Joined: 09/27/2011
Points: 9

I am trying to use the api to obtain a valid download url. I am using CE4 and everything is great. But i cannot find anywhere, how to obtain the current valid download url for an entry. I am currently having to go into the KCM, previewing the video with a player that has the download button, i click download, then copy the link and post it the website (wordpress custom post type) custom field so that it can be linked to a button on the page for downloading the video. i have to do this every day because the url expires. Please help me so i can automate this. Is there a way to get the download url for a resource via the api? i see that getDownloadUrl is deprecated. I tried everything i could think of. I just need direction and/or an example how to query the api to return the current download url for a given entry_id. Thank you.

Joined: 07/19/2009
Points: 179

Have a look on falvorAsset service