# I am using zoomus/websdk/embedded and not getting proper speaker view

**URL:** <https://devforum.zoom.us/t/i-am-using-zoomus-websdk-embedded-and-not-getting-proper-speaker-view/83085>\
**Category:** Web\
**Created:** [February 14, 2023, 7:09am UTC](https://devforum.zoom.us/t/i-am-using-zoomus-websdk-embedded-and-not-getting-proper-speaker-view/83085 "2023-02-14T07:09:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![apoorv.chipsoft](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/apoorv.chipsoft/32/45460_2.png) [@apoorv.chipsoft](https://devforum.zoom.us/u/apoorv.chipsoft)\
**Post date:** [February 14, 2023, 7:09am UTC](https://devforum.zoom.us/t/i-am-using-zoomus-websdk-embedded-and-not-getting-proper-speaker-view/83085/1 "2023-02-14T07:09:16Z")

</div>

I am using zoomus/websdk/embedded and not getting proper speaker view, its showing active view instead of speaker’s view, I need a panelist band at the top. please help.

---

<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 14, 2023, 7:15am UTC](https://devforum.zoom.us/t/i-am-using-zoomus-websdk-embedded-and-not-getting-proper-speaker-view/83085/2 "2023-02-14T07:15:04Z")

</div>

@apoorv.chipsoft Here are the sessions regarding WebSDK Integrations

- [Zoom Meeting SDK Integration with VueJS](https://youtu.be/CMpe56VoTTo)
- [Zoom Meeting SDK Integration with ReactJS](https://youtu.be/4BgkLvH7T0Y)
- [Zoom Meeting SDK Integration with AngularJS](https://youtu.be/utXjISjjHOY)
- [NextJS - Zoom WebSDK Component View](https://youtu.be/mwta4hZOtpc) ← Here described Component View Videos Rendering Sizes
- [Zoom Meeting SDK Client View Integration](https://youtu.be/zaIhI_BZKJo)

---

<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 14, 2023, 7:16am UTC](https://devforum.zoom.us/t/i-am-using-zoomus-websdk-embedded-and-not-getting-proper-speaker-view/83085/3 "2023-02-14T07:16:09Z")

</div>

> [@Options Grid/List View on Component View Meeting web SDK](https://devforum.zoom.us/t/options-grid-list-view-on-component-view-meeting-web-sdk/80745/17):
>
> There is no API to switch Layouts but here is my trick
> 
> ```auto
> client.on('connection-change', (e) => {
> if (e.state == 'Connected') {
> return new Promise((resolve, reject) => {
> let ribbon = document.querySelector('button[title="Ribbon"]');
> 
> if (ribbon) {
> ribbon.click();
> console.log('-- switching to speak view --');
> 
> return resolve(true);
> }
> 
> return reject(true);
> }).then((r) => {
> var xpath = "//span[text()='Active']";
> var speakView = document.evaluate(xpath, document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null);
> 
> if (speakView && speakView.singleNodeValue) {
> speakView.singleNodeValue.click();
> }
> }).catch((error) => {
> console.log('--- error when switching to speak view --> ', error);
> });
> }
> });
> 
> ```

If any queries still please ask. Thanks

---

<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 16, 2023, 5:16pm UTC](https://devforum.zoom.us/t/i-am-using-zoomus-websdk-embedded-and-not-getting-proper-speaker-view/83085/4 "2023-03-16T17:16:24Z")

</div>

Closed on March 16, 2023, 5:16pm UTC

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