From 23d7b66a7a7392a5edcf81bdb1443d616f1ffd7b Mon Sep 17 00:00:00 2001 From: girst Date: Mon, 22 Jun 2020 21:48:49 +0200 Subject: [PATCH] tweak video's object-fit:cover *again* --- app/static/style.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/static/style.css b/app/static/style.css index 0cd0782..6b96fc2 100644 --- a/app/static/style.css +++ b/app/static/style.css @@ -121,6 +121,9 @@ ul#submgr{list-style: none} /* affects both placeholder and src. To avoid cropping the video itself, we assume the video element's aspect ratio exactly matches the video file. */ } +.main-video video:fullscreen { + object-fit: contain; /* not constrained by .main-video any more! */ +} /* https://stackoverflow.com/a/20201563 */ .aspect-ratio { position: relative; -- 2.39.3