====== setVideoSize() ====== call.setVideoSize() is used to resize the video element [[ixnx:wrtc:js:api:call:remotevideo|call.remoteVideo]] displaying the received video stream. As the video element [[ixnx:wrtc:js:api:call:remotevideo|call.remoteVideo]] used to display the received video stream is in some browsers replaced with custom HTML elements you cannot set its width and height manually. Both .width and .style.width must be set to same values. To resize the video element [[ixnx:wrtc:js:api:call:remotevideo|call.remoteVideo]] to other sizes than its initial size you **must** use call.setVideoSize() ===== Arguments ===== call.setVideoSize(width, height) * width - width in pixels * height - height in pixels ===== Returns ===== Nothing. ===== Events ===== None. ===== Also See ===== [[ixnx:wrtc:js:api:call:remotevideo|call.remoteVideo]]