]> git.parisson.com Git - teleforma.git/commitdiff
fix video style
authorGuillaume Pellerin <guillaume.pellerin@parisson.com>
Fri, 17 Jan 2025 10:45:11 +0000 (11:45 +0100)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Fri, 17 Jan 2025 11:08:50 +0000 (12:08 +0100)
teleforma/static/teleforma/css/teleforma.css
teleforma/templates/teleforma/seminar_media_video.html

index 697c00f0a7cffdea6f40464f0a2e1fc53c168076..f187034c5b9bfc9e6cdee2083a28e3ca10be0edb 100644 (file)
@@ -1815,10 +1815,17 @@ form.add_actus #id_text_parent{
     width: 620px;
     }
 
-.video {
-    background-color: transparent;
-    padding: 0.8em 0em 1em 0em;
-    }
+.course_media .video-js{
+        max-width: 100%;
+        height: auto !important;
+        width: 100% !important;
+}
+
+.course_media .video-js .vjs-tech{
+    position: static;
+    width: 100%;
+    height: auto;
+}
 
 .audio {
     padding: 0.8em 1em 1em 0em;
index 15fec886826c2d875fe065150acdd56088f09c38..9afaab8dcc2cf631a060920fccd164b846263ea1 100644 (file)
@@ -6,10 +6,6 @@
 
 {% block extra_javascript %}
 
-<script src="{{STATIC_URL}}teleforma/video-js/video.js"></script>
-<link href="{{STATIC_URL}}teleforma/video-js/video-js.css" rel="stylesheet">
-
-
 {% if user.is_staff %}
 <script type="text/javascript">