Team:UCLondon/Templates/Navigationv3
From 2012e.igem.org
(Difference between revisions)
Line 347: | Line 347: | ||
$('#yt').html(''); | $('#yt').html(''); | ||
- | + | var _url = 'feed://gdata.youtube.com/feeds/api/playlists/PLtGCURRfxampHgpkl-tUkzSeZhItvY3_u?v=2&alt=json&callback=?'; | |
- | + | var videoURL= 'http://www.youtube.com/watch?v='; | |
- | + | alert(videoURL); | |
- | $.getJSON( | + | $.getJSON(_url,function(data){ |
var list_data=""; | var list_data=""; | ||
- | |||
$.each(data.feed.entry, function(i, item) { | $.each(data.feed.entry, function(i, item) { |
Revision as of 20:52, 14 October 2012