From 0a82d238b110c22245e61477d336513b2bfcb2c4 Mon Sep 17 00:00:00 2001 From: murtaugh Date: Tue, 2 Jun 2020 17:00:26 +0200 Subject: [PATCH] Update '12/liveplayer.js' --- 12/liveplayer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/12/liveplayer.js b/12/liveplayer.js index 62b4659..025f0c5 100644 --- a/12/liveplayer.js +++ b/12/liveplayer.js @@ -31,7 +31,7 @@ function liveplayer (elt) { if (iframe&&d.artist){ if (d.artist.endsWith(".jpg") || d.artist.endsWith(".png")) { console.log("IMAGE", d.artist); - iframe.style.backgroundImage: d.artist; + iframe.style.backgroundImage = "url("+d.artist+")"; iframe.src = "blank.html"; } else { console.log("OTHER URL");