Video canvas object-fit cover instead of contain

The canvas in the sample app is displaying the video in center and leave space around it. It is like object-fit: contain; in css
I want to cover the video over the canvas area
You can get the idea here:
How can I do that?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.