mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-02 03:16:42 +02:00
Change objectFit to "contain"
This commit is contained in:
@@ -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%';
|
||||
|
Reference in New Issue
Block a user