Open AlfHou opened 3 years ago
I think there are not even scaled, that could be why.
Just tested in jellyfin-web
and you're right, it isn't scaled
It is a little larger than in the vue client tho, which I think looks a little more natural.
We likely just need to add object-fit
to the video element. I don't have anything to reproduce this issue, though :/
I'll try it out! I have some different sized videos.
I've just set up Jellyfin Vue (using an AUR package for Arch, Jellyfin Vue 7198fcb and Jellyfin Server 10.9.11) and was about to report this again -- it seems like the scaling (or lack of) may have regressed at some point?
Full screen or not, the video player seems to only take the size of the media itself (e.g. 360p here).
From a quick peek at the code, there seems to be a conditional class uno-object-fill
on the video element itself:
Manually adding that class to the <video>
element seems to allow it to scale up and fill the window, so I'm not sure what circumstances we expect the player to not be filling it.
Running master branch of
jellyfin-vue
andjellyfin-server
Tested on both chrome and firefoxWhen viewing SD videos they are scaled incorrectly (see fig. 1). This does not happen on HD movies (fig. 2)
The SD video is an AVC @ 480 x 360 video The HD video is an AVC @ 1920 x 816 video
Fig. 1: SD Image
Fig.2: HD Image