title: Getting a list of videos from a YouTube channel using JSON
body: <p>I am attempting to list the 5 most recent videos (title, updated, thumbnail (hqDefault)) from a channel. I have the data in JSON format, but despite looking at several guides I can not seem to parse it. Any ideas? Can use Javascript or jQuery.</p>
  
  <p>Here's the URL: <a href="https://gdata.youtube.com/feeds/api/videos?q=googledevelopers&amp;max-results=5&amp;v=2&amp;alt=jsonc&amp;orderby=published" rel="nofollow">https://gdata.youtube.com/feeds/api/videos?q=googledevelopers&amp;max-results=5&amp;v=2&amp;alt=jsonc&amp;orderby=published</a></p>
  
  <p><strong>FWIW here is what I have so far</strong> (Disregard HTML formatting)</p>
  
  <pre><code>    $.getJSON('https://gdata.youtube.com/feeds/api/videos?q=googledevelopers&amp;max-results=5&amp;v=2&amp;alt=jsonc&amp;orderby=published', function(data) {
      var output="&lt;ul&gt;";
      for (var i in data.data.items) {
          output+="&lt;li&gt;" + data.data.items[i].title + "&lt;/li&gt;";
      }
      document.getElementById("videos").innerHTML=output;
  </code></pre>