From fbf7af59c12b2efe66e622508e5db124683d3cac Mon Sep 17 00:00:00 2001 From: "@CyberAndi" Date: Tue, 6 Feb 2024 17:09:51 +0100 Subject: [PATCH] change aspect-ratio --- assets/css/player.css | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/assets/css/player.css b/assets/css/player.css index 729b46f9..551ce8d9 100644 --- a/assets/css/player.css +++ b/assets/css/player.css @@ -276,6 +276,14 @@ video.video-js { border-radius: 13px; height: 0; } +/* +#player { + border-radius: 13px; + border: 3px solid rgba(255,255,255,1); + box-shadow: 9px 9px 15px rgba(0,0,0,0.8); + background-color: rgba(0,0,0,0.8) !important; + backdrop-filter: blur(2.5px); +}*/ #player { border-radius: 13px; @@ -283,6 +291,13 @@ video.video-js { box-shadow: 9px 9px 15px rgba(0,0,0,0.8); background-color: rgba(0,0,0,0.8) !important; backdrop-filter: blur(2.5px); + aspect-ratio: 16 / 9 !important; + height: calc(100vh - 140px) !important; + left: calc((100vh - 140px) * 0.5625 * 0.5); + --posBannerHeight: calc(100vh - 140px); + --posBannerWidth: calc((100vh - 140px) * 1.78); + --posBannerLeft: calc((100vh - 140px) * 0.5625 * 0.5); + width: auto !important; } #player::after {