How to change background image on modern player in SL360 Nov 14, 2020 By Gabriella Vinci Hello everyone, I wonder if anyone as figured out how to change or apply a background image on the modern player, like you can do on classic player simply adding a javascript on the first slide. Any suggestion?
Sanduni Fernando over 3 years ago11/14/20 at 3:58 pm (UTC) Hi Gabriella, The modern player keeps on changing. The following is the latest I have, which was shared by Russell Killips document.getElementById("slide").style.backgroundColor = "transparent"; var x = document.getElementById("wrapper");x.style.backgroundSize = "cover";x.style.backgroundRepeat = "no-repeat";x.style.backgroundPosition = "center";x.style.backgroundImage = "url(Cover.jpg)"; Just give it a try and see whether it is still working.
1 Reply
Hi Gabriella,
The modern player keeps on changing. The following is the latest I have, which was shared by Russell Killips
document.getElementById("slide").style.backgroundColor = "transparent";
var x = document.getElementById("wrapper");
x.style.backgroundSize = "cover";
x.style.backgroundRepeat = "no-repeat";
x.style.backgroundPosition = "center";
x.style.backgroundImage = "url(Cover.jpg)";
Just give it a try and see whether it is still working.
This discussion is closed. You can start a new discussion or contact Articulate Support.