When sharing a screen, it is important to show the whole desktop. How do I ‘fit’ a video to a container so that the whole desktop is shown? Thanks.
sorry, i found a solution: by creating a div with the same aspect ratio as the video source
Actually the real solution to this problem is css property “object-fit”. Google it for further info.
1 Like