esl-facebook-stream
esl-facebook-stream copied to clipboard
Fullscreen aspect ratio not locked to video
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.
#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