Canvas size issue

I want to make video calls on social plate forms but in full view the cam is ok it fits on display but when minimize it shows black background of the canvas which is quite obvious to looks like it is fake