# Is there a way to change the zoom web component view video size after init?

**URL:** <https://devforum.zoom.us/t/is-there-a-way-to-change-the-zoom-web-component-view-video-size-after-init/87585>\
**Category:** Web\
**Created:** [April 29, 2023, 11:56am UTC](https://devforum.zoom.us/t/is-there-a-way-to-change-the-zoom-web-component-view-video-size-after-init/87585 "2023-04-29T11:56:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![spaceman.developer](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@spaceman.developer](https://devforum.zoom.us/u/spaceman.developer)\
**Post date:** [April 29, 2023, 11:56am UTC](https://devforum.zoom.us/t/is-there-a-way-to-change-the-zoom-web-component-view-video-size-after-init/87585/1 "2023-04-29T11:56:45Z")

</div>

**Description**  
Hi i would like to know if there are any methods available to use in the MedlyvesZoomClient after i initialise the zoom web component ?

**Which Web Meeting SDK version?**  
2.9.7

**Meeting SDK Code Snippets**

this is what i use to initialise in the begining. but i want to change the video size as the session progress and as the user interacts with the page and its components the video position will change and i need it to resize based on the position of the video. i have it fixed, not allowing the user to drag it around

```auto
client.init({
          zoomAppRoot: meetingSDKElement,
          language: "en-US",
          customize: {
            video: {
              defaultViewType: "active",
              viewSizes: {
                default: {
                  width: calWidth,
                  height: height * 0.85,
                },
              },
              popper: {
                disableDraggable: true,
              },
            },
          },
        });

```

---

<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:** [May 29, 2023, 9:57pm UTC](https://devforum.zoom.us/t/is-there-a-way-to-change-the-zoom-web-component-view-video-size-after-init/87585/2 "2023-05-29T21:57:40Z")

</div>

Closed on May 29, 2023, 9:57pm UTC

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