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