Ok - if anyone is wanting youtube gallery in 2.4, the google api has changed (now late October 2010).
Replace the extractVideoInfo($video) with this code and it will work in 2.4.2
/**
* Gets information from one <entry> tag from the feed
*/
function extractVideoInfo($video) {
$data = array();
$mediaentry = $video->children('http://search.yahoo.com/mrss/');
$attrs = ($mediaentry[0]->children('media', true));
$data['Author'] = Convert::raw2xml((string)$video->author->name);
$data['Title'] = Convert::raw2xml((string)$video->title); // Title of the video
$data['HTML'] = trim((string)$video->content);
$data['Description'] = Convert::raw2xml((string)$mediaentry->group->description);
$yt = $mediaentry->children('http://gdata.youtube.com/schemas/2007');
$attrs = $yt->duration->attributes();
$length = $attrs['seconds'];
$data['RuntimeMin'] = floor( $length/60);
$data['Runtime'] = sprintf ("%dm%2ds",$data['RuntimeMin'], $length - ($data['RuntimeMin']*60));
$attrs = $mediaentry->group->player->attributes();
$data['PlayerURL'] = Convert::raw2xml((string)$attrs['url']);
$attrs = $mediaentry->group->thumbnail[0]->attributes();
$thumbnail = Convert::raw2xml((string)$attrs['url']);
$data['SmallThumbnail'] = new ArrayData(array(
'URL' => $thumbnail,
'Width' => 100,
'Height' => 80
));
return $data;
}