|
|
@ -31,8 +31,9 @@ function liveplayer (elt) {
|
|
|
|
if (iframe&&d.artist){
|
|
|
|
if (iframe&&d.artist){
|
|
|
|
if (d.artist.endsWith(".jpg") || d.artist.endsWith(".png")) {
|
|
|
|
if (d.artist.endsWith(".jpg") || d.artist.endsWith(".png")) {
|
|
|
|
console.log("IMAGE", d.artist);
|
|
|
|
console.log("IMAGE", d.artist);
|
|
|
|
iframe.style.backgroundImage = "url("+d.artist+")";
|
|
|
|
// iframe.style.backgroundImage = "url("+d.artist+")";
|
|
|
|
iframe.src = "blank.html";
|
|
|
|
// iframe.src = "blank.html";
|
|
|
|
|
|
|
|
iframe.src = d.artist;
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
console.log("OTHER URL");
|
|
|
|
console.log("OTHER URL");
|
|
|
|
iframe.src = d.artist;
|
|
|
|
iframe.src = d.artist;
|
|
|
|