|
|
@ -29,8 +29,17 @@ function liveplayer (elt) {
|
|
|
|
console.log("****", iframe, d.artist);
|
|
|
|
console.log("****", iframe, d.artist);
|
|
|
|
|
|
|
|
|
|
|
|
if (iframe&&d.artist){
|
|
|
|
if (iframe&&d.artist){
|
|
|
|
iframe.src = d.artist;
|
|
|
|
if ((d.artist.endsWith(".jpg") || d.arts.endsWith(".png")) {
|
|
|
|
}
|
|
|
|
console.log("IMAGE", d.artist);
|
|
|
|
|
|
|
|
iframe.style.backgroundImage: d.artist;
|
|
|
|
|
|
|
|
iframe.src = "blank.html";
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
console.log("OTHER URL");
|
|
|
|
|
|
|
|
iframe.src = d.artist;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
} else if (iframe) {
|
|
|
|
|
|
|
|
iframe.src = "blank.html";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, DELAY_TIME_SECS*1000);
|
|
|
|
}, DELAY_TIME_SECS*1000);
|
|
|
|