Update better-xcloud.user.js

This commit is contained in:
redphx 2024-05-29 20:19:43 +07:00
parent 02db103a72
commit f2dc102996

View File

@ -5112,7 +5112,7 @@ var resizeVideoPlayer = function() {
height = Math.floor(height); height = Math.floor(height);
$video.style.width = `${width}px`; $video.style.width = `${width}px`;
$video.style.height = `${height}px`; $video.style.height = `${height}px`;
$video.style.objectFit = "fill"; $video.style.objectFit = "scale-down";
} else { } else {
$video.style.width = "100%"; $video.style.width = "100%";
$video.style.height = "100%"; $video.style.height = "100%";