protected function parseEntry($entry) { $video = new KalturaVideoObject(); // "Media" object to video $video->setID($entry->id); $video->setURL($entry->downloadUrl); $video->setTitle($entry->name); $video->setDescription($entry->description); //duration in milliseconds $video->setDuration(floor($entry->duration/1000)); //date in milliseconds $published = new DateTime('@' . floor($entry->updateAt / 1000)); $video->setPublished($published); $video->setImage($entry->thumbnailUrl); return $video; }