Hi
I'm using the INZU API to build a site and want to access youtube video thumbnails for previews, here is my code, but it isn't working.
$xml = simplexml_load_file("http://api.inzu.net/xml/my_site/my_site.xml?api_pass={$api_pass}&api_key={$key}&zone=video&pagenum=1&rows_page=100&order=date&order_type=DESC");
foreach ($xml->entry as $entry) {
$video=$entry->video;
$image_you=explode("/",$entry->video);
$image_you=explode("&",$image_you[4]);
$image_you=explode("?",$image_you[0]);
$video_archive.=<<<EOD
<span>
<a href="video.html?entry_id={$entry['entry_id']}" ><img class="video_img" src="http://img.youtube.com/vi/{$image_you[0]}/2.jpg" width="60" border="0" /></a>
<span class="main_body_TXT" >
<a href="video.html?entry_id={$entry['entry_id']}" ><strong>{$entry->title}</strong></a><br/>
{$entry->description}<br/>
<strong>Length:</strong>{$entry->duration}<br/>
</span>
</span>
<hr/>
EOD;
}