Team:UCLondon/Templates/Navigationv3

From 2012e.igem.org

(Difference between revisions)
Line 348: Line 348:
       var _url = 'http://gdata.youtube.com/feeds/api/playlists/PLtGCURRfxampHgpkl-tUkzSeZhItvY3_u?v=2&alt=json&callback=?';
       var _url = 'http://gdata.youtube.com/feeds/api/playlists/PLtGCURRfxampHgpkl-tUkzSeZhItvY3_u?v=2&alt=json&callback=?';
-
      var videoURL= 'http://www.youtube.com/watch?v=';
+
 
-
 
+
       $.getJSON(_url,function(data){
       $.getJSON(_url,function(data){
-
           for(var i = 0; i< data.length; i++){
+
           alert(data);
-
            alert(data);
+
-
        }
+
     });
     });
}
}

Revision as of 21:09, 14 October 2012