title: pull youtube video title into page
body: <p>I am pulling in some youtube video thumbnails into my page with the following:</p>
  
  <pre><code>&lt;img src="http://i3.ytimg.com/vi/&lt;?php echo $youtubelist[$i];?&gt;/default.jpg"&gt;&lt;/img&gt;
  </code></pre>
  
  <p>(using a Joomla module to supply the youtube video ID's at $youtubelist)</p>
  
  <p>Along with the youtube thumbnail, I also want to pull in the youtube video 'title' &amp; 'description'.</p>
  
  <p>How do I do this?</p>
  
  <p>Thanks</p>
  
  <p>[edited below]</p>
  
  <p>This is my code &amp; I want to place the title above the  tag:</p>
  
  <pre><code>&lt;?php
  $youtubelist    = explode( ',', $youtubecode );
  $numyoutube     = count($youtubelist);
  //Get duplicate module or not
  $a=1;
  foreach ($list as $item) :
      //$total=$a;
      $enddbid = $item-&gt;id;
          if ($ytslide==$enddbid) {$nummod=$a;}
      $a++;   
  endforeach;
  ?&gt;
  &lt;div id="videos"&gt;
      &lt;div style="padding-left: 2px; padding-right: 2px;padding-bottom:2px;"&gt;
      &lt;?php for ($i=0; $i&lt;$numyoutube; $i++) { ?&gt;
          &lt;a href="#"&gt;
              &lt;img src="http://i3.ytimg.com/vi/&lt;?php echo $youtubelist[$i];?&gt;/default.jpg"&gt;&lt;/img&gt;
          &lt;/a&gt;
      &lt;?php } ?&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>