Currently i'm using the following, which seems quite slow for multiple clips:
static function get_yt_title($clip_id){
$feedURL = 'http://gdata.youtube.com/feeds/api/videos/' . $clip_id;
$entry = @simplexml_load_file($feedURL);
if($entry){
$video= new stdClass;
$media = $entry->children('http://search.yahoo.com/mrss/');
$video->title = ucwords(strtolower($media->group->title));
return $video->title;
}
else{
return FALSE;
}
any more efficient methods than this for doing 5-10 clips at a time with php?