Carrying on from my previous post of querying the vimeo api by using the video url only, here is the YouTube version!
data->thumbnail->hqDefault;
$description = $data->data->description;
$description = str_replace("'","'",$description);
$title = $data->data->title;
$tags=$location;
$link = $data->data->player->default;
$published = $data->data->uploaded;
}
?>
Leave a reply