diff --git a/src/modules/ui/ui.ts b/src/modules/ui/ui.ts index b6fdd76..2db9cf6 100644 --- a/src/modules/ui/ui.ts +++ b/src/modules/ui/ui.ts @@ -492,7 +492,7 @@ function resizeVideoPlayer() { // Update size $video.style.width = `${width}px`; $video.style.height = `${height}px`; - $video.style.objectFit = 'contain'; + $video.style.objectFit = PREF_RATIO === '16:9' ? 'contain' : 'fill'; } else { $video.style.width = '100%'; $video.style.height = '100%';