# Options Grid/List View on Component View Meeting web SDK

**URL:** <https://devforum.zoom.us/t/options-grid-list-view-on-component-view-meeting-web-sdk/80745>\
**Category:** Web\
**Created:** [December 26, 2022, 1:38am UTC](https://devforum.zoom.us/t/options-grid-list-view-on-component-view-meeting-web-sdk/80745 "2022-12-26T01:38:54Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![tuanthinhit](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tuanthinhit/32/44109_2.png) [@tuanthinhit](https://devforum.zoom.us/u/tuanthinhit)\
**Post date:** [February 6, 2023, 3:39pm UTC](https://devforum.zoom.us/t/options-grid-list-view-on-component-view-meeting-web-sdk/80745/21 "2023-02-06T15:39:44Z")

</div>

@freelancer.nak  
Thank you, but i can not show the video participants on the top of the Active/Speaker type.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/d/1/d1559eea75e19b1c88247002fcc6107af3af8d52.jpeg)

---

<div class="post-metadata">

**Author:** ![freelancer.nak](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/freelancer.nak/32/40968_2.png) [@freelancer.nak](https://devforum.zoom.us/u/freelancer.nak)\
**Post date:** [February 6, 2023, 3:41pm UTC](https://devforum.zoom.us/t/options-grid-list-view-on-component-view-meeting-web-sdk/80745/22 "2023-02-06T15:41:43Z")

</div>

@tuanthinhit Please answer to my query 👇

> [@freelancer.nak](#):
>
> Also you must have enabled sharedArrayBuffer API 👇

---

<div class="post-metadata">

**Author:** ![tuanthinhit](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tuanthinhit/32/44109_2.png) [@tuanthinhit](https://devforum.zoom.us/u/tuanthinhit)\
**Post date:** [February 6, 2023, 3:54pm UTC](https://devforum.zoom.us/t/options-grid-list-view-on-component-view-meeting-web-sdk/80745/23 "2023-02-06T15:54:29Z")

</div>

@freelancer.nak Yep, i have enabled sharedArrayBuffer API but on the Speaker View, i can not see the video of participants on the top on the Component View. Can you please re-check and let me know?

---

<div class="post-metadata">

**Author:** ![j.schoenemeyer](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@j.schoenemeyer](https://devforum.zoom.us/u/j.schoenemeyer)\
**Post date:** [February 6, 2023, 5:39pm UTC](https://devforum.zoom.us/t/options-grid-list-view-on-component-view-meeting-web-sdk/80745/24 "2023-02-06T17:39:08Z")

</div>

if the [release notes](https://github.com/zoom/meetingsdk-web/blob/master/CHANGELOG.md) of the web meeting sdk are correct, for **Component View** is only “ **5x5 gallery view** ” available (new with 2.7.0)

the version one big video and the others on top small seems is only on **Client View** available

---

<div class="post-metadata">

**Author:** ![freelancer.nak](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/freelancer.nak/32/40968_2.png) [@freelancer.nak](https://devforum.zoom.us/u/freelancer.nak)\
**Post date:** [February 6, 2023, 6:52pm UTC](https://devforum.zoom.us/t/options-grid-list-view-on-component-view-meeting-web-sdk/80745/25 "2023-02-06T18:52:53Z")

</div>

> [@j.schoenemeyer](#):
>
> the version one big video and the others on top small seems is only on **Client View** available

👆 Please review here.

---

<div class="post-metadata">

**Author:** ![tuanthinhit](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tuanthinhit/32/44109_2.png) [@tuanthinhit](https://devforum.zoom.us/u/tuanthinhit)\
**Post date:** [February 7, 2023, 2:01am UTC](https://devforum.zoom.us/t/options-grid-list-view-on-component-view-meeting-web-sdk/80745/26 "2023-02-07T02:01:42Z")

</div>

@j.schoenemeyer Got it, thank you so much

---

<div class="post-metadata">

**Author:** ![tuanthinhit](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tuanthinhit/32/44109_2.png) [@tuanthinhit](https://devforum.zoom.us/u/tuanthinhit)\
**Post date:** [February 7, 2023, 2:01am UTC](https://devforum.zoom.us/t/options-grid-list-view-on-component-view-meeting-web-sdk/80745/27 "2023-02-07T02:01:55Z")

</div>

@freelancer.nak Got it, thank you so much

---

<div class="post-metadata">

**Author:** ![tuanthinhit](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tuanthinhit/32/44109_2.png) [@tuanthinhit](https://devforum.zoom.us/u/tuanthinhit)\
**Post date:** [February 8, 2023, 7:21am UTC](https://devforum.zoom.us/t/options-grid-list-view-on-component-view-meeting-web-sdk/80745/28 "2023-02-08T07:21:40Z")

</div>

@freelancer.nak @j.schoenemeyer

- Thank you for your reply. I have an issue about drag and drop. I can not drag/drop if i have drag/drop the panel zoom hide into the browser.
- Please see the screenshot below

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

Best regards,  
John

---

<div class="post-metadata">

**Author:** ![j.schoenemeyer](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@j.schoenemeyer](https://devforum.zoom.us/u/j.schoenemeyer)\
**Post date:** [February 8, 2023, 12:26pm UTC](https://devforum.zoom.us/t/options-grid-list-view-on-component-view-meeting-web-sdk/80745/29 "2023-02-08T12:26:39Z")

</div>

just testet with the [example app on github](https://github.com/zoom/meetingsdk-web-sample) v2.97 - you are correct - this seems a bug in the drag&drop function

[here a screen recording](https://360.articulate.com/review/content/d034ba2c-1fb8-4509-a454-5ff1dcc549e3/review)

when releasing the element it is **not checked** if the element is **out of the screen**

=\> Component View seems not to be ready to use

---

<div class="post-metadata">

**Author:** ![freelancer.nak](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/freelancer.nak/32/40968_2.png) [@freelancer.nak](https://devforum.zoom.us/u/freelancer.nak)\
**Post date:** [February 8, 2023, 2:09pm UTC](https://devforum.zoom.us/t/options-grid-list-view-on-component-view-meeting-web-sdk/80745/30 "2023-02-08T14:09:46Z")

</div>

@j.schoenemeyer I don’t have tested that but @tuanthinhit Please try to set a higher z-index: to the component container and then do a try.

---

<div class="post-metadata">

**Author:** ![tuanthinhit](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tuanthinhit/32/44109_2.png) [@tuanthinhit](https://devforum.zoom.us/u/tuanthinhit)\
**Post date:** [February 8, 2023, 6:37pm UTC](https://devforum.zoom.us/t/options-grid-list-view-on-component-view-meeting-web-sdk/80745/31 "2023-02-08T18:37:42Z")

</div>

@freelancer.nak Yep, let me check

- But about invite link: Let’s say I send a link like this to a room participant: [https://us04web.zoom.us/j/123456789?pwd=password](https://us04web.zoom.us/j/123456789?pwd=password)  
=\> How can the person who joins the room via that link is only a guest? because now when I go to that link, it’s the Host.

---

<div class="post-metadata">

**Author:** ![freelancer.nak](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/freelancer.nak/32/40968_2.png) [@freelancer.nak](https://devforum.zoom.us/u/freelancer.nak)\
**Post date:** [February 8, 2023, 7:10pm UTC](https://devforum.zoom.us/t/options-grid-list-view-on-component-view-meeting-web-sdk/80745/32 "2023-02-08T19:10:13Z")

</div>

If the logged-in user is the host & user is redirected to join then the participant will be host. There are two links in the meeting payload

→ start\_url → for the Host to start the meeting  
 → join \_url → for participants to join the meeting.

---

<div class="post-metadata">

**Author:** ![tuanthinhit](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tuanthinhit/32/44109_2.png) [@tuanthinhit](https://devforum.zoom.us/u/tuanthinhit)\
**Post date:** [February 9, 2023, 7:54am UTC](https://devforum.zoom.us/t/options-grid-list-view-on-component-view-meeting-web-sdk/80745/33 "2023-02-09T07:54:58Z")

</div>

@freelancer.nak  
My meeting config just show “Invite Link”. So anyone access that link. They’ll become to Host.

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

---

<div class="post-metadata">

**Author:** ![tuanthinhit](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tuanthinhit/32/44109_2.png) [@tuanthinhit](https://devforum.zoom.us/u/tuanthinhit)\
**Post date:** [February 10, 2023, 3:08pm UTC](https://devforum.zoom.us/t/options-grid-list-view-on-component-view-meeting-web-sdk/80745/34 "2023-02-10T15:08:59Z")

</div>

@freelancer.nak @j.schoenemeyer  
Hi, can i leave room/close room when close the tab?  
Thank you in advance.  
Best regards,  
John.

---

<div class="post-metadata">

**Author:** ![j.schoenemeyer](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@j.schoenemeyer](https://devforum.zoom.us/u/j.schoenemeyer)\
**Post date:** [February 11, 2023, 7:30pm UTC](https://devforum.zoom.us/t/options-grid-list-view-on-component-view-meeting-web-sdk/80745/35 "2023-02-11T19:30:32Z")

</div>

if an attendee or the host closes the tab of the browser - your program is gone almost immediately¹

then happens:

- after 2 minutes the **attendee** will automaticly removed from the meeting by the zoom backend

- **Important** : if the **host** closes the tab or browser, he will be removed after 2 minutes from the meeting AND the last entered (???) attendee will be host

- if the last user close the meeting tab, the meeting will be automaticly ended after 4 minutes

¹ you could add a [beforeunload](https://developer.mozilla.org/en-US/docs/Web/API/Window/beforeunload_event) event handler, but what you can do in the event handler is VERY limited

---

<div class="post-metadata">

**Author:** ![tuanthinhit](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tuanthinhit/32/44109_2.png) [@tuanthinhit](https://devforum.zoom.us/u/tuanthinhit)\
**Post date:** [February 12, 2023, 1:53am UTC](https://devforum.zoom.us/t/options-grid-list-view-on-component-view-meeting-web-sdk/80745/36 "2023-02-12T01:53:32Z")

</div>

Dear @j.schoenemeyer  
Thank you for your reply.

- I also know after 2 minutes the room participant will leave the meeting when the tab is closed. But I want when they close the tab. Their departure from the meeting will be handled immediately.
- Therefore, I tried the following code without success.  
zmClient.leaveMeeting({  
sdkKey: sdkKey,  
signature: signature,  
meetingNumber: meetingNumber,  
userName: userName,  
password: password,  
userEmail: ‘email’,  
success: function(res){console.log(‘success endMeeting’, ‘res’)},  
error: function(res){console.log(‘error endMeeting’, ‘res’)}  
})  
P/s: When run that function. I got this error: localhost/:1 Uncaught (in promise) {type: ‘INVALID\_PARAMETERS’, reason: ‘no matching user’}

Best regards,  
John.

---

<div class="post-metadata">

**Author:** ![j.schoenemeyer](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@j.schoenemeyer](https://devforum.zoom.us/u/j.schoenemeyer)\
**Post date:** [February 12, 2023, 7:50am UTC](https://devforum.zoom.us/t/options-grid-list-view-on-component-view-meeting-web-sdk/80745/37 "2023-02-12T07:50:33Z")

</div>

here are the links to the documentation for leaveMeeting()

[component view](https://marketplacefront.zoom.us/sdk/meeting/web/components/modules/EmbeddedClient.html#leaveMeeting)

![leave-2](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/3/2/327f6e0d0c6a769f64792eea9e10893d647429d3.png)

[client view](https://marketplacefront.zoom.us/sdk/meeting/web/ZoomMtg.html#leaveMeeting)

 ![leave](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/0/6/06c258730ee7bc818e928c951002518cca60d5a8.png)

---

<div class="post-metadata">

**Author:** ![tuanthinhit](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tuanthinhit/32/44109_2.png) [@tuanthinhit](https://devforum.zoom.us/u/tuanthinhit)\
**Post date:** [February 14, 2023, 3:27pm UTC](https://devforum.zoom.us/t/options-grid-list-view-on-component-view-meeting-web-sdk/80745/38 "2023-02-14T15:27:58Z")

</div>

Dear @j.schoenemeyer

Thank you so much, it’s working now.

- But I have a problem. That’s when I exited the room and then re-entered, I couldn’t get back in again. I got this error: Cannot assign to read only property ‘meetingInfo’ of object ‘#’
- Do you have any solution for this problem? As it happens in the init function when I want to customize some information about the zoom.  
Thank you in advance.

Best regards.

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

---

<div class="post-metadata">

**Author:** ![j.schoenemeyer](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@j.schoenemeyer](https://devforum.zoom.us/u/j.schoenemeyer)\
**Post date:** [February 14, 2023, 5:18pm UTC](https://devforum.zoom.us/t/options-grid-list-view-on-component-view-meeting-web-sdk/80745/39 "2023-02-14T17:18:55Z")

</div>

in the [release notes](https://marketplace.zoom.us/docs/guides/stay-up-to-date/changelog/) of 2.9.7 there is a new feature mentioned “re-create from scratch”

![destroy](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/2/f/2f9e6a6ad12e955805e64a0aa7a1482d1ca9a3a3.png)

but I found no further explanation in the [documentation of component view](https://marketplacefront.zoom.us/sdk/meeting/web/components/modules/EmbeddedClient.html)

---

<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:** [March 17, 2023, 3:18am UTC](https://devforum.zoom.us/t/options-grid-list-view-on-component-view-meeting-web-sdk/80745/40 "2023-03-17T03:18:58Z")

</div>

Closed on March 17, 2023, 3:18am UTC

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

[Previous page](https://devforum.zoom.us/t/options-grid-list-view-on-component-view-meeting-web-sdk/80745.md?page=1)
