Add extra cool video as chosen by Niki
authorCameron Ball <cameron@moodle.com>
Mon, 14 Dec 2020 07:35:12 +0000 (15:35 +0800)
committerCameron Ball <cameron@moodle.com>
Mon, 14 Dec 2020 07:35:12 +0000 (15:35 +0800)
index.html
video/5.mp4 [new file with mode: 0644]

index 6c9fe03..d6ca089 100644 (file)
@@ -79,7 +79,7 @@
      var delay = 20;
 
      var vidElement = document.getElementById('video');
-     var activeVideo = Math.floor((Math.random() * 4) + 1);
+     var activeVideo = Math.floor((Math.random() * 5) + 1);
      vidElement.src = "video/" + activeVideo + ".mp4";
 
      var audioElement = document.getElementById('audio');
diff --git a/video/5.mp4 b/video/5.mp4
new file mode 100644 (file)
index 0000000..1b6b43e
Binary files /dev/null and b/video/5.mp4 differ