Template:Home/NowPlaying2: Difference between revisions

Template page
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 27: Line 27:
button.addEventListener("click", playNext);
button.addEventListener("click", playNext);


function playNext() {
async function playNext() {
   var justPlayedVideo = shuffledList.shift();
   var justPlayedVideo = shuffledList.shift();
   shuffledList.push(justPlayedVideo);
   shuffledList.push(justPlayedVideo);

Revision as of 08:58, 4 August 2023

Now Playing