How do I get rid of the black edges in the video canvas?

For a web application, I was using the video SDK. I was able to render the videos in the canvas, however there were black edges on both ends of the canvas that I did not require. I want the video to be completely filled with no dark edges.

Hi, kindly check the setting tab. As I was facing the same issue. But I was checking the setting and by accident found the option of the full screen and I ticked it now there is no black edge. So explore the different option in the setting the issue will be fixed easily.