global $post;
$meta = get_post_meta($post->ID,'_video_meta',TRUE);
/* Setup $post and get the meta data from the custom fields */
if ( $meta['type'] == "youtube" ) {
/* Break the video URL apart to find the ID */
$loc = strpos($meta['url'],"v=");
$videoid = substr($meta['url'], $loc + 2);
/* YouTube give you a choice of 3 thumbnails: 0.jpg, 1.jpg, 2.jpg */
echo '‹img src="http://img.youtube.com/vi/'.$videoid.'/0.jpg" alt="the_title();>" /›';
} else if ( $meta['type'] == "vimeo" ) {
/* Vimeo's URL structure is slightly different and needs breaking apart differently */
$loc = explode( "/", $meta['url'] );
$videoid = end($loc);
/* Vimeo stores all info about each video in JSON, PHP and XML Formats. This is the PHP version */
$hash = unserialize(file_get_contents("http://vimeo.com/api/v2/video/$videoid.php"));
/* Depending on the size of the image needed you could use ['thumbnail_large'], ['thumbnail_medium'] or ['thumbnail_small'] */
echo '‹img src="'.$hash[0]['thumbnail_large'].'" alt="the_title();" /›';
} else {
the_post_thumbnail( 'thumbnail' );
}

“Join the Band” is a song about the joys of tour, an anthemic guide to life on the road. The end of the night at rock shows is a lousy place to say good bye or so-long to dear friends. Meeting for breakfast the morning after is a sacred practice; a time for quiet (sometimes hung-over) reflection and tender conversation. In the spirit of the song we decided to debut “Join the Band” via the classic Canadian band breakfast stop Aunties & Uncles.
The house music is often Neil Young (they spin entire LPs) and the omelette of the day is always exactly what I need. I particularly enjoy going to Aunties & Uncles with Ian Kehoe (Marine Dreams) – he and I have shared some of the sunniest mornings there. I sat in on one of the first meetings between You’ve Changed Records and The Weather Station at Aunties & Uncles; everyone fell in love.
– Shotgun Jimmie