]> git.parisson.com Git - teleforma.git/commitdiff
fix js load
authorGuillaume Pellerin <guillaume.pellerin@parisson.com>
Mon, 9 Jun 2025 09:24:29 +0000 (11:24 +0200)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Mon, 9 Jun 2025 09:24:29 +0000 (11:24 +0200)
teleforma/templates/teleforma/course_conference_record.html

index 28be2b7c16a990b865600d24641f6915d1e1cd73..01cd09bbf231094ed0c63aa615f1eadb42a92f9b 100644 (file)
@@ -3,11 +3,6 @@
 {% load teleforma_tags %}
 {% load i18n %}
 
-{% block extra_stylesheets %}
-<link href="{{STATIC_URL}}teleforma/video-js/video-js.css" rel="stylesheet">
-<link href="{{STATIC_URL}}teleforma/video-js/fantasy/index.css" rel="stylesheet">
-{% endblock %}
-
 {% block extra_javascript %}
 <script type="text/javascript">
 
@@ -68,8 +63,6 @@ $(document).ready(function(){
     });
 </script>
 
-<script src="{{STATIC_URL}}teleforma/video-js/video.js"></script>
-
 {% endblock extra_javascript %}
 
 {% block modules %}
@@ -92,6 +85,8 @@ $(document).ready(function(){
 <div class="media">
 {% block video %}
 <div class="video">
+    <link href="{{STATIC_URL}}teleforma/video-js/video-js.css" rel="stylesheet">
+    <link href="{{STATIC_URL}}teleforma/video-js/fantasy/index.css" rel="stylesheet">
     <video
         id="video"
         class="video-js vjs-theme-fantasy"
@@ -110,6 +105,7 @@ $(document).ready(function(){
             >supports HTML5 video</a
           >
         </p>
+        <script src="{{STATIC_URL}}teleforma/video-js/video.js"></script>
     </video>
 </div>