# Web games with integrated zoom calls

**URL:** <https://devforum.zoom.us/t/web-games-with-integrated-zoom-calls/50430>\
**Category:** API and Webhooks\
**Created:** [May 17, 2021, 6:08pm UTC](https://devforum.zoom.us/t/web-games-with-integrated-zoom-calls/50430 "2021-05-17T18:08:31Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![fbmacdee](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/fbmacdee/32/27605_2.png) [@fbmacdee](https://devforum.zoom.us/u/fbmacdee)\
**Post date:** [May 17, 2021, 6:08pm UTC](https://devforum.zoom.us/t/web-games-with-integrated-zoom-calls/50430/1 "2021-05-17T18:08:32Z")

</div>

## Which API / SDK for this use case??

**Description**  
I have an existing javascript based set of 4-player card games. Everyone who plays the games opens up a zoom call first, then resizes the zoom window to fit the right 25% of their screen, and then resizes the browser running the game into the remaining 75% of the screen space. Every game has one player who sets up the zoom call with their own account. I would like to integrate zoom directly into the site, and allow an existing zoom subscriber to login to their account and start a zoom call within the page (could definitely be an iFrame if necessary). Other users joining the game should be able to join that call programatically. Which of your SDKs &/or APIs are designed to handle this use case?

**Error**  
Error: too many SDKs to choose from and hard to distinguish them!!

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
That is exactly what I am interested in finding out…

---

<div class="post-metadata">

**Author:** ![alexmayo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/alexmayo/32/27289_2.png) [@alexmayo](https://devforum.zoom.us/u/alexmayo)\
**Post date:** [May 18, 2021, 11:34am UTC](https://devforum.zoom.us/t/web-games-with-integrated-zoom-calls/50430/2 "2021-05-18T11:34:17Z")

</div>

Hi @fbmacdee

Welcome to the Zoom Developer Community!

This sounds like a cool project. I’d recommend using the Web Client SDK, since this embeds the existing Zoom interface into the browser window. it’s possible to embed it in an iFrame, however it’s not recommended and Zoom doesn’t officially support it. I have been using this for a while and it works great for my projects.

> **[Web - Client SDKs - Zoom Software Development Kit (Zoom SDK)](https://marketplace.zoom.us/docs/sdk/native-sdks/web)**
>
> Zoom Web SDK
> 
> The Web SDK enables the development of video applications powered by Zoom's core framework inside an HTML5 web client through a highly opt...

I’d recommend setting up the demo project and playing around with it.

If you would like a more bespoke interface which you can resize and restyle then I recommend using the Web Video SDK, however this will require more development on your part, but may end up being a nicer solution to your use case.

> **[Web - Video SDKs - Zoom Software Development Kit (Zoom SDK)](https://marketplace.zoom.us/docs/sdk/video/web)**
>
> Sessions are not Zoom Meetings; instead, with no default user-interface, this SDK is designed to support unique video applications.
> 
> Getting Started
> 
> ...

Thanks,  
Alex

---

<div class="post-metadata">

**Author:** ![fbmacdee](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/fbmacdee/32/27605_2.png) [@fbmacdee](https://devforum.zoom.us/u/fbmacdee)\
**Post date:** [May 18, 2021, 12:23pm UTC](https://devforum.zoom.us/t/web-games-with-integrated-zoom-calls/50430/3 "2021-05-18T12:23:09Z")

</div>

Thanks Alex. So are you saying that the Web Client SDK would not be able to be resized into a 25% column on one side of the screen? Also, does the Web Video SDK allow users to use their own accounts to login and start a meeting, or does it require me to provide a master account that everyone uses?

---

<div class="post-metadata">

**Author:** ![alexmayo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/alexmayo/32/27289_2.png) [@alexmayo](https://devforum.zoom.us/u/alexmayo)\
**Post date:** [May 18, 2021, 1:02pm UTC](https://devforum.zoom.us/t/web-games-with-integrated-zoom-calls/50430/4 "2021-05-18T13:02:13Z")

</div>

Hi,

You can resize it by CSS or Javascript.

Thanks,

Alex

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [May 18, 2021, 11:30pm UTC](https://devforum.zoom.us/t/web-games-with-integrated-zoom-calls/50430/5 "2021-05-18T23:30:02Z")

</div>

Thanks for your guidance @alexmayo!

Let us know if you have any questions @fbmacdee.

Max

---

<div class="post-metadata">

**Author:** ![fbmacdee](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/fbmacdee/32/27605_2.png) [@fbmacdee](https://devforum.zoom.us/u/fbmacdee)\
**Post date:** [May 20, 2021, 1:13am UTC](https://devforum.zoom.us/t/web-games-with-integrated-zoom-calls/50430/6 "2021-05-20T01:13:15Z")

</div>

Ok, I have the sample app running and I’ve been playing with the CSS settings to make it do what I want. The only problem I have is the ability to set the view to “gallery” by default. I have tried automating a “select” on the gallery view div but so far no luck. Has someone put this in as a feature request?

---

<div class="post-metadata">

**Author:** ![alexmayo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/alexmayo/32/27289_2.png) [@alexmayo](https://devforum.zoom.us/u/alexmayo)\
**Post date:** [May 20, 2021, 9:22am UTC](https://devforum.zoom.us/t/web-games-with-integrated-zoom-calls/50430/7 "2021-05-20T09:22:54Z")

</div>

Hi @fbmacdee,

This isn’t possible with the current Web SDK, however I would also like this feature and have added a feature request for it.

> [@Gallery View as Default (Web SDK)](https://devforum.zoom.us/t/gallery-view-as-default-web-sdk/50658):
>
> Hi, One sought after feature for the Web SDK is to have the ability to enable gallery view by default, or to be able to programmatically switch between gallery and speaker view. Some examples of how this could be implemented can be found below. Upon Initialisation Add an additional ‘viewLayout’ property which can either be ‘gallery’ or ‘as’. By default, ‘as’ will be set and will show the active speaker, as not to break any existing implementations. ZoomMtg.init({ viewLayout: 'gallery', /…

Thanks,  
Alex

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [May 20, 2021, 9:19pm UTC](https://devforum.zoom.us/t/web-games-with-integrated-zoom-calls/50430/8 "2021-05-20T21:19:17Z")

</div>

Thank you for submitting a feature request!

Max

---

<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:** [June 20, 2021, 7:19am UTC](https://devforum.zoom.us/t/web-games-with-integrated-zoom-calls/50430/9 "2021-06-20T07:19:40Z")

</div>

Closed on June 20, 2021, 7:19am UTC

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