|
|
@ -31,7 +31,7 @@ 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: d.artist;
|
|
|
|
iframe.style.backgroundImage = "url("+d.artist+")";
|
|
|
|
iframe.src = "blank.html";
|
|
|
|
iframe.src = "blank.html";
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
console.log("OTHER URL");
|
|
|
|
console.log("OTHER URL");
|
|
|
|