Change in css

This commit is contained in:
santic-zombie
2020-04-15 22:53:29 +03:00
parent 85152fb7a8
commit 25fc853d2a
2 changed files with 4 additions and 4 deletions

View File

@@ -72,12 +72,11 @@ function getSongURL(MPDartist, MPDsong)
function getYouTubeRequest(MPDfile) {
var url = 'https://www.googleapis.com/youtube/v3/search';
var params = {
// part: 'id',
part: 'id',
part: 'snippet',
key: '',
key: 'AIzaSyCfkMY2Nk3QwEh1Tjdqm-8GueBqOS5jgeI',
q: MPDfile
};
$.getJSON(url, params, showResults);
}
@@ -87,4 +86,5 @@ function showResults(results) {
YouURL = entries[0].id.videoId;
document.querySelector('img[name="YouTubeThumb"]').setAttribute('src', thumb);
document.querySelector('a[name="YouTubeURL"]').setAttribute('href', "https://www.youtube.com/watch?v="+YouURL);
console.log("https://www.youtube.com/watch?v="+YouURL);
}