Reduced number of results to 7 instead of 25. Less laggy

This commit is contained in:
Kasper Rynning-Tønnesen
2015-01-30 23:08:53 +01:00
parent 763fbf76e8
commit a5d1356baa

View File

@@ -47,7 +47,7 @@ function search(search_input){
if(search_input !== ""){
var keyword= encodeURIComponent(search_input);
var yt_url='http://gdata.youtube.com/feeds/api/videos?q='+keyword+'&format=5&orderby=relevance&max-results=25&v=2&alt=jsonc';
var yt_url='http://gdata.youtube.com/feeds/api/videos?q='+keyword+'&format=5&orderby=relevance&max-results=6&v=2&alt=jsonc';
$.ajax({
type: "GET",