This is a simple PHP script to obtain vimeo video information by extracting the video ID from the video url and then querying the vimeo api. The result is a JSON array from which you can extract the data you need.
Hope you find it useful!
thumbnail_medium;
$description = $data[0]−>description;
$description = str_replace("'","'",$description);
$description = nl2br($description);
$title = $data[0]−>title;
$tags = $data[0]−>tags;
$link = $data[0]−>url;
$published = $data[0]−>upload_date;
}
?>
Leave a reply