Template:Home/NowPlaying2: Difference between revisions

Template page
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 30: Line 30:
   var justPlayedVideo = shuffledList.shift();
   var justPlayedVideo = shuffledList.shift();
   shuffledList.push(justPlayedVideo);
   shuffledList.push(justPlayedVideo);
  player.src = ''
  await new Promise(r => setTimeout(r, 1000));
   player.src = shuffledList[0];
   player.src = shuffledList[0];
  await new Promise(r => setTimeout(r, 1000));
   video.load()
   video.load()
   video.play()
   video.play()

Revision as of 09:04, 4 August 2023

Now Playing