From: Yoan Le Clanche Date: Tue, 16 Jul 2024 13:32:09 +0000 (+0200) Subject: Center video X-Git-Tag: 2.8.1-pro~15 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=35b97e91367fd26d4056bbd5ee8f9eb75613ee46;p=teleforma.git Center video --- 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.