]> git.parisson.com Git - teleforma.git/commitdiff
Center poster
authorYoan Le Clanche <yoanl@pilotsystems.net>
Tue, 16 Jul 2024 13:30:11 +0000 (15:30 +0200)
committerYoan Le Clanche <yoanl@pilotsystems.net>
Tue, 16 Jul 2024 13:30:11 +0000 (15:30 +0200)
teleforma/static/teleforma/video-js/video-js.css

index b604459d0dc0332b3a7a5e7ea6960ec264cbec2d..fc06bc913dc0121515e1f25e652b85d0d5b5347a 100644 (file)
@@ -22,6 +22,9 @@ REQUIRED STYLES (be careful overriding)
   /* Allow poster to be vertially aligned. */
   vertical-align: middle;
   /*  display: table-cell; */ /*This works in Safari but not Firefox.*/
+  display:flex;
+  justify-content: center;
+  align-items: center;
 }
 
 /* Playback technology elements expand to the width/height of the containing div. <video> or <object> */