esl-facebook-stream icon indicating copy to clipboard operation
esl-facebook-stream copied to clipboard

Fullscreen aspect ratio not locked to video

Open neodyma opened this issue 6 years ago • 1 comments

When going full screen on displays that are not 16:9, the video will be cropped to the display aspect ratio instead of using black bars. Thats probably because of the player using all of the display width (e.g. 3440px) and then cropping the vertical remains. Might be related to #3 ? Possible fix is locking the player to the vertical or horizontal width, depending on which is smaller compared to the video.

neodyma avatar Jul 05 '18 18:07 neodyma

#12 fixes this by setting height: 100vh; on the <video> element, which then does the resizing correctly itself. If you could test it, though, that would be great :D

jpjagt avatar Jul 08 '18 19:07 jpjagt