Zoom WEB SDK Resize Canvas

Description
I’m trying to force a resize of the canvas vídeo.

< canvas width=“1310” height=“309” id=“speak-view-video” class=“speaker-view__canvas”>

let canvas = document.getElementById(‘speak-view-video’);
canvas.width = 700;

Error
VM120345:1 Uncaught DOMException: Failed to set the ‘width’ property on ‘HTMLCanvasElement’: Cannot resize canvas after call to transferControlToOffscreen().
at :1:14

Which Web Meeting SDK version?
I’m using @zoomus/websdk 1.9.8.

Hey @thiagodeavila96 ,

At the moment resizing the Web Meeting SDK canvas is not supported.

-Tommy

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