Change objectFit to "contain"

This commit is contained in:
redphx 2024-06-01 10:12:45 +07:00
parent e10eadc832
commit 758501bcd3

View File

@ -492,7 +492,7 @@ function resizeVideoPlayer() {
// Update size
$video.style.width = `${width}px`;
$video.style.height = `${height}px`;
$video.style.objectFit = 'fill';
$video.style.objectFit = 'contain';
} else {
$video.style.width = '100%';
$video.style.height = '100%';