]> git.parisson.com Git - teleforma.git/commitdiff
fix let
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Tue, 29 Jun 2021 12:34:15 +0000 (14:34 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Tue, 29 Jun 2021 12:34:15 +0000 (14:34 +0200)
teleforma/templates/teleforma/course_conference.html

index e66b4c438a78c20cdaffdfeb34a56eec7aea172e..37003001cb7bb5c55a14ae80d6874165e1d74f14 100644 (file)
     function getRndInteger(min, max) { return Math.floor(Math.random() * (max - min + 1)) + min; }
 
     jQuery(window).ready(function() {
-        let video = $("#video");
-        let videoSource = $("#video source");
-        let url = videoSource.attr("src");
+        var video = $("#video");
+        var videoSource = $("#video source");
+        var url = videoSource.attr("src");
         url = url + "?v=" + getRndInteger(1, 10000);
         videoSource.attr("src", url);
-        let autoplayVideo = $("#videoclip").get(0);
+        var autoplayVideo = $("#videoclip").get(0);
         autoplayVideo.load();
         autoplayVideo.play();
     });