]> git.parisson.com Git - teleforma.git/commitdiff
fix video url feature/live
authorGuillaume Pellerin <guillaume.pellerin@parisson.com>
Tue, 29 Jun 2021 12:43:08 +0000 (14:43 +0200)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Tue, 29 Jun 2021 12:43:08 +0000 (14:43 +0200)
bin
teleforma/templates/teleforma/course_conference.html

diff --git a/bin b/bin
index c5d2023de2f038cb865a148076a4dc4ec24efaf7..52d01bc8d0ec34d96ae3751fa5709a8ae05066fd 160000 (submodule)
--- a/bin
+++ b/bin
@@ -1 +1 @@
-Subproject commit c5d2023de2f038cb865a148076a4dc4ec24efaf7
+Subproject commit 52d01bc8d0ec34d96ae3751fa5709a8ae05066fd
index 37003001cb7bb5c55a14ae80d6874165e1d74f14..4b8761e8c8add0f833eddd827856d70fa9c40ab7 100644 (file)
     function getRndInteger(min, max) { return Math.floor(Math.random() * (max - min + 1)) + min; }
 
     jQuery(window).ready(function() {
-        var video = $("#video");
-        var videoSource = $("#video source");
-        var url = videoSource.attr("src");
+        let video = $("#video");
+        let videoSource = $("#video source");
+        let url = videoSource.attr("src");
         url = url + "?v=" + getRndInteger(1, 10000);
         videoSource.attr("src", url);
-        var autoplayVideo = $("#videoclip").get(0);
+        let autoplayVideo = $("#video");
         autoplayVideo.load();
-        autoplayVideo.play();
+        // autoplayVideo.play();
     });
 </script>