Update '12/liveplayer.js'

master
murtaugh 5 years ago
parent 4ee7f41045
commit bb2be75c86

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

Loading…
Cancel
Save