mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Added only music searches
This commit is contained in:
@@ -40,6 +40,7 @@ $(document).ready(function()
|
||||
$.each(response.data.items, function(i,data)
|
||||
{
|
||||
if(data.duration > 720){return;}
|
||||
if(data["category"] == "Music"){
|
||||
var video_title=encodeURIComponent(data.title).replace(/'/g, "\\\'");
|
||||
var views=data.viewCount;
|
||||
var video_thumb = "http://i.ytimg.com/vi/"+data.id+"/default.jpg";
|
||||
@@ -50,7 +51,7 @@ $(document).ready(function()
|
||||
"<span class='result_info'>"+data.uploader+" • "+views+" views • "+length+"</span></div></div>";
|
||||
|
||||
$("#results").append(finalhtml);
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user