# Zoom Meeting Web SDK Video Size

**URL:** <https://devforum.zoom.us/t/zoom-meeting-web-sdk-video-size/76904>\
**Category:** Web\
**Created:** [October 4, 2022, 9:13am UTC](https://devforum.zoom.us/t/zoom-meeting-web-sdk-video-size/76904 "2022-10-04T09:13:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stelikas](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/stelikas/32/41881_2.png) [@Stelikas](https://devforum.zoom.us/u/Stelikas)\
**Post date:** [October 4, 2022, 9:13am UTC](https://devforum.zoom.us/t/zoom-meeting-web-sdk-video-size/76904/1 "2022-10-04T09:13:53Z")

</div>

### Customize Video Size:

I’m using Zoom Meeting SDK for Web following [this](https://marketplace.zoom.us/docs/sdk/native-sdks/web/client-view/reference/) but i can’t find a way to increase the size when video pops up.

Example Code:

```
    this.client.init({
        debug: true,
        zoomAppRoot: meetingSDKElement,
        language: 'en-US',
        customize: {
        meetingInfo: ['topic', 'host', 'participant', 'dc', 'enctype'],
        toolbar: {
            buttons: [
            {
                text: 'Custom Button',
                className: 'CustomButton',
                onClick: () => {
                console.log('custom button');
                }
            }
            ]
        }
        }
    });

```

If i understand correctly it must be customizable through the customize object although i cannot seem to find a documentation with the values i shall provide so i can customize the size.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Stelikas](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/stelikas/32/41881_2.png) [@Stelikas](https://devforum.zoom.us/u/Stelikas)\
**Post date:** [October 4, 2022, 12:23pm UTC](https://devforum.zoom.us/t/zoom-meeting-web-sdk-video-size/76904/2 "2022-10-04T12:23:43Z")

</div>

Bump, noone got an answer to this?

---

<div class="post-metadata">

**Author:** ![rehema.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rehema.zoom/32/40323_2.png) [@rehema.zoom](https://devforum.zoom.us/u/rehema.zoom)\
**Post date:** [October 5, 2022, 5:41pm UTC](https://devforum.zoom.us/t/zoom-meeting-web-sdk-video-size/76904/3 "2022-10-05T17:41:23Z")

</div>

Hi @Stelikas ,

Thanks for your question. You can resize the video container, or canvas element the video is rendered onto, using the sizing objects ‘default’ and ‘ribbon’. The described process + a code snippet is included in [this article](https://marketplace.zoom.us/docs/sdk/native-sdks/web/component-view/resizing/). Please let me know if this proves helpful.

Thanks,  
Rehema

---

<div class="post-metadata">

**Author:** ![CassyniDev](https://avatars.discourse-cdn.com/v4/letter/c/d26b3c/32.png) [@CassyniDev](https://devforum.zoom.us/u/CassyniDev)\
**Post date:** [October 5, 2022, 11:28pm UTC](https://devforum.zoom.us/t/zoom-meeting-web-sdk-video-size/76904/4 "2022-10-05T23:28:04Z")

</div>

It’s possible to configure the embeddable web sdk component on initialisation with something like:

```auto
client
  .init({
    debug: true,
    zoomAppRoot: node,
    language: 'en-US',
    customize: {
      video: {
        isResizable: false,
        viewSizes: {
          default: { width: node.clientWidth, height: node.clientHeight },
          ribbon: { width: node.clientWidth / 4, height: node.clientHeight },
        },
      },
    }
  })

```

What I don’t understand is how to:

- Adjust the viewSize dynamically? For example, if a user resizes their window, how does one change the size of their view? It doesn’t appear that calling `client.init()` again mid-meeting should or will work
- Adjust the size of the screenshare? The `videoSize.default` option doesn’t seem to affect the size of the shared screen view. Additionally, when a screen is shared, dragging to increase the size when video.isResizable is true has strange behaviour
- Choose which view is shown by default. It seems the ribbon view is the default but I would prefer to start with gallery or speaker view. Is this possible?

---

<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:** [November 5, 2022, 9:28am UTC](https://devforum.zoom.us/t/zoom-meeting-web-sdk-video-size/76904/5 "2022-11-05T09:28:29Z")

</div>

Closed on November 5, 2022, 9:28am UTC

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