From d2ad263a5fa2429878c21627d25032365c48a243 Mon Sep 17 00:00:00 2001 From: Yoan Le Clanche Date: Tue, 16 Jul 2024 15:30:11 +0200 Subject: [PATCH] Center poster --- teleforma/static/teleforma/video-js/video-js.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/teleforma/static/teleforma/video-js/video-js.css b/teleforma/static/teleforma/video-js/video-js.css index b604459d..fc06bc91 100644 --- a/teleforma/static/teleforma/video-js/video-js.css +++ b/teleforma/static/teleforma/video-js/video-js.css @@ -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.