# Zoom WEB SDK Resize Canvas

**URL:** <https://devforum.zoom.us/t/zoom-web-sdk-resize-canvas/57971>\
**Category:** Web\
**Created:** [September 24, 2021, 7:07pm UTC](https://devforum.zoom.us/t/zoom-web-sdk-resize-canvas/57971 "2021-09-24T19:07:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thiagodeavila96](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/thiagodeavila96/32/22732_2.png) [@thiagodeavila96](https://devforum.zoom.us/u/thiagodeavila96)\
**Post date:** [September 24, 2021, 7:07pm UTC](https://devforum.zoom.us/t/zoom-web-sdk-resize-canvas/57971/1 "2021-09-24T19:07:43Z")

</div>

**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.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [September 24, 2021, 8:52pm UTC](https://devforum.zoom.us/t/zoom-web-sdk-resize-canvas/57971/2 "2021-09-24T20:52:24Z")

</div>

Hey @thiagodeavila96 ,

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

-Tommy

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [October 25, 2021, 6:52am UTC](https://devforum.zoom.us/t/zoom-web-sdk-resize-canvas/57971/3 "2021-10-25T06:52:50Z")

</div>

Closed on October 25, 2021, 6:52am UTC

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