# Zoom Meeting SDK Component View - 2.17.0 Ribbon and Speaker Views

**URL:** <https://devforum.zoom.us/t/zoom-meeting-sdk-component-view-2-17-0-ribbon-and-speaker-views/96031>\
**Category:** Web\
**Created:** [September 29, 2023, 4:29pm UTC](https://devforum.zoom.us/t/zoom-meeting-sdk-component-view-2-17-0-ribbon-and-speaker-views/96031 "2023-09-29T16:29:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![saikiran694](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/saikiran694/32/50587_2.png) [@saikiran694](https://devforum.zoom.us/u/saikiran694)\
**Post date:** [September 29, 2023, 4:29pm UTC](https://devforum.zoom.us/t/zoom-meeting-sdk-component-view-2-17-0-ribbon-and-speaker-views/96031/1 "2023-09-29T16:29:52Z")

</div>

### Before Creating a New Topic:

_If you’re experiencing unexpected Video SDK behavior please search the forum with relevant keywords (e.x. error message) and follow the guidance outlined in those posts. Please also leverage the following support links:_

- Zoom Developer Changelog for Dev Product Changes: [https://marketplace.zoom.us/docs/guides/stay-up-to-date/changelog/](https://marketplace.zoom.us/docs/guides/stay-up-to-date/changelog/)
- General Troubleshooting: [Support](https://devsupport.zoom.us/hc/en-us)
- To Submit a Ticket for Unexpected Video SDK Behavior: [Official Zoom Support | Help Center](https://support.zoom.us/hc/en-us)
- For General & Integrations Related Guidance: [https://community.zoom.com/](https://community.zoom.com/)

* * *

**Description**  
I am trying to customize the viewSizes of my Meeting SDK Component View with below configuration.

```auto
client.init({
            zoomAppRoot: meetingSDKElement,
            language: 'en-US',
            customize: {
                video: {
                    popper: {
                        anchorElement: gncWebAppHeaderElement,
                        placement:"bottom-start",
                        disableDraggable: true
                    },

                    viewSizes: {
                        default: {
                            height: isALaptopOrDesktop.matches? meetingSDKElement.clientHeight*0.97:meetingSDKElement.clientHeight,
                            width: isALaptopOrDesktop.matches?meetingSDKElement.clientWidth:meetingSDKElement.clientWidth,
                            /* height: meetingSDKElement*0.97,
                            width: meetingSDKElement.clientWidth*0.97 */
                        }, 
                        ribbon: {
                            
                            width: meetingSDKElement.clientWidth
                          }
                    }, 
                    defaultViewType:isSmallDevice.matches?"":"gallery", 
                    isResizable: false
                }, //Some other config below... 

```

There are 2 issues I am currently facing with this config:

1. The Gallery, Ribbon and Active speaker videos respect the view sizes I gave. But the Speaker view does not. It overflows the root element (as you can see, there is a scroll bar in the browser window in the pic I attached.. ). Is there a way I can control the speaker view other than manipulating CSS.  

2. Second one and the one I am more concerned about is the behavior on Screen-Sharing and I think these are somehow related. When I start a screen share, the shared screen is not available to the participant. Instead the video canvas is shown. Please see attached. As you can see the height is being increased very much and no shared screen can be seen. Interesting thing is if I inspect the individual videos in the large screen below, they are the size of the viewSizes I gave while init. So, really not sure what is happening.

Appreciate any help with this! Note: I enabled SharedArrayBuffer

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/1/8/18d253a67a009579c106c323536a1d1b28d74cdc.png)  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/5/a/5a47bcfcb5a3fdf6b1787320f5a38471e63135d6.png)

**Browser Console Error**  
No errors in browser. I have enabled SharedArrayBuffer

**Which Web Meeting SDK version?**  
2.16.0

**Meeting SDK Code Snippets**  
The code snippets that are causing the error / issue so we can reproduce.

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

1. Go to ‘…’
2. Click on ‘…’
3. Scroll down to ‘…’
4. See error

**Screenshots**  
If applicable, add screenshots to help explain your problem.

**Troubleshooting Routes**  
The troubleshooting attempt types you’ve already exhausted, including testing with the appropriate sample app (found on [Zoom · GitHub](https://github.com/zoom)).

**Device (please complete the following information):**

- Device: [e.g. Macbook Pro]
- OS: [e.g. macOS 11]
- Browser: [e.g. Chrome]
- Browser Version [e.g. 88.0.4324.150 (Official Build) (x86\_64)]

**Additional context**  
Add any other context about the problem here.

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [October 5, 2023, 3:25pm UTC](https://devforum.zoom.us/t/zoom-meeting-sdk-component-view-2-17-0-ribbon-and-speaker-views/96031/2 "2023-10-05T15:25:26Z")

</div>

Hi @saikiran694  
Thanks for reaching out to the Zoom Developer Forum, I am happy to help here!  
Are you still experiencing this issue on your end?

---

<div class="post-metadata">

**Author:** ![saikiran694](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/saikiran694/32/50587_2.png) [@saikiran694](https://devforum.zoom.us/u/saikiran694)\
**Post date:** [October 5, 2023, 4:11pm UTC](https://devforum.zoom.us/t/zoom-meeting-sdk-component-view-2-17-0-ribbon-and-speaker-views/96031/3 "2023-10-05T16:11:32Z")

</div>

Hi Lisa, Thanks for the reply. Yes. One of the main issues is that the view size I give for “default” on init does work for “gallery” view… But when I switch to “speaker” view, the video size becomes large (I think because of the videos at top). But I think those should be included in the size I gave during init rather than occupying any extra space. Please see the scrolls in the image attached. Is there any way to make the speaker view respect the sizes I gave during init.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/b/3/b3a7b4bce83851477b7685934d9fdc50a90cd43b.png)

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [October 11, 2023, 9:48pm UTC](https://devforum.zoom.us/t/zoom-meeting-sdk-component-view-2-17-0-ribbon-and-speaker-views/96031/4 "2023-10-11T21:48:45Z")

</div>

Hi @saikiran694  
Thanks for sharing more details with me.  
Allow me to test this on my end and see if I can replicate this behavior

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [October 17, 2023, 8:00pm UTC](https://devforum.zoom.us/t/zoom-meeting-sdk-component-view-2-17-0-ribbon-and-speaker-views/96031/5 "2023-10-17T20:00:44Z")

</div>

Hi @saikiran694  
I am not able to replicate this on my end with the sample app here:

> **[GitHub - zoom/meetingsdk-web-sample: Zoom Meeting SDK web sample](https://github.com/zoom/meetingsdk-web-sample)**
>
> Zoom Meeting SDK web sample. Contribute to zoom/meetingsdk-web-sample development by creating an account on GitHub.

Could you try adding your logic here and see if this is happening in our sample app please

---

<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 17, 2023, 6:01am UTC](https://devforum.zoom.us/t/zoom-meeting-sdk-component-view-2-17-0-ribbon-and-speaker-views/96031/6 "2023-11-17T06:01:38Z")

</div>

Closed on November 17, 2023, 6:01am UTC

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