# Embed zoom video to a web server

**URL:** <https://devforum.zoom.us/t/embed-zoom-video-to-a-web-server/2882>\
**Category:** Web\
**Created:** [January 4, 2019, 9:56pm UTC](https://devforum.zoom.us/t/embed-zoom-video-to-a-web-server/2882 "2019-01-04T21:56:18Z")\
**Posts on this page:** 20\
**Page:** 6

<div class="post-metadata">

**Author:** ![zhaosx](https://avatars.discourse-cdn.com/v4/letter/z/a4c791/32.png) [@zhaosx](https://devforum.zoom.us/u/zhaosx)\
**Post date:** [December 17, 2019, 7:22am UTC](https://devforum.zoom.us/t/embed-zoom-video-to-a-web-server/2882/109 "2019-12-17T07:22:54Z")

</div>

@tommy  
I am new to the forum and I haven’t been able to upload code after trying many times. What should I do?  
I am testing the upload code.

```
<!DOCTYPE HTML>
<html>
<head>
 <meta charset="utf-8">
</head>
<body onload="myFunction()">
<div class="iframe-container" style="overflow: hidden; padding-top: 56.25%; position: relative;">
     <iframe id="mainIframe" src="https://zoom.us/wc/2539784636/join?prefer=1&pwd=Nm9iRDBROXFiT2NYMytDb3VjUjZtUT09&&un=zhangc" allow="microphone;camera" sandbox="allow-forms allow-scripts allow-same-origin" style="border: 0; height: 100%; left: 0; position: absolute; top: 0; width: 100%;" frameborder="0"></iframe>
 </div>
</body>
</html>

```

it looks like works. 😂  
These are my codes, please help to see, the code is very simple, I don’t know where the problem lies,  
thank you very much

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [December 17, 2019, 5:19pm UTC](https://devforum.zoom.us/t/embed-zoom-video-to-a-web-server/2882/110 "2019-12-17T17:19:56Z")

</div>

Hey @zhaosx,

I am confused about the issue, it is working for me.

Can you not hear anything, or can you not automatically join the meeting via “computer audio”?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![zhaosx](https://avatars.discourse-cdn.com/v4/letter/z/a4c791/32.png) [@zhaosx](https://devforum.zoom.us/u/zhaosx)\
**Post date:** [December 18, 2019, 9:11am UTC](https://devforum.zoom.us/t/embed-zoom-video-to-a-web-server/2882/112 "2019-12-18T09:11:29Z")

</div>

I’m very sorry, I didn’t describe it clearly, which confuses you.  
I used two browsers for testing,  
Safari 12.1 (14607.1.40.1.4) works fine, clicking the [Start Video] button will prompt to open the camera. But Chrome (79.0.3945.79) can’t do this, without prompting whether to allow it. Instead, it prompts you to modify your privacy settings, and cannot modify settings in privacy settings.

 ![1576660874852](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/8/8767871ab95cbbd96334b45c8fb2aa8ed670ee51.jpeg)

When clicking the [Start Video] button, it prompts:  
[WX20191218-172400@2x|689x466](https://devforum.zoom.us/uploads/short-url/7sVareyKxBNWqGsoYYSAcBhYwAF.png)

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [December 18, 2019, 9:49pm UTC](https://devforum.zoom.us/t/embed-zoom-video-to-a-web-server/2882/113 "2019-12-18T21:49:05Z")

</div>

Hey @host,

We make every effort of maintaining a high-level of professionalism on our forums, I fear this comment is outside our general conduct.

For further customization with the audio and video settings, I suggest using our [Web SDK](https://marketplace.zoom.us/docs/sdk/native-sdks/web) instead of the iFrame.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [December 18, 2019, 9:56pm UTC](https://devforum.zoom.us/t/embed-zoom-video-to-a-web-server/2882/114 "2019-12-18T21:56:30Z")

</div>

Hey @zhaosx, thanks for providing further details,

It is correct that Chrome prompts the user to allow the mic and camera. This is Chrome functionality, and allows Zoom users to control their privacy.

Safari does not have Computer Audio: [https://support.zoom.us/hc/en-us/articles/214629443-Zoom-Web-Client#h\_2da60ac7-455e-466f-85d1-974aa68f0703](https://support.zoom.us/hc/en-us/articles/214629443-Zoom-Web-Client#h_2da60ac7-455e-466f-85d1-974aa68f0703)

For further customization I suggest you try using our [Web SDK](https://marketplace.zoom.us/docs/sdk/native-sdks/web).

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![zhaosx](https://avatars.discourse-cdn.com/v4/letter/z/a4c791/32.png) [@zhaosx](https://devforum.zoom.us/u/zhaosx)\
**Post date:** [December 19, 2019, 9:16am UTC](https://devforum.zoom.us/t/embed-zoom-video-to-a-web-server/2882/116 "2019-12-19T09:16:18Z")

</div>

Hey @tommy, thanks for your patience.  
I have run the SDK demo, it looks like what i wanted.  
But there are still some questions to confirm, and I hope to get confirmation from you.

1. With the Web SDK, can I modify the layout of the screen display? For example, I don’t want chat and screen sharing. Can I block it?
2. Using WebSDK seems to be the same with using a browser directly. I can only see myself and an activator. Can’t I see all the participants like a mobile app?

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [December 19, 2019, 8:43pm UTC](https://devforum.zoom.us/t/embed-zoom-video-to-a-web-server/2882/117 "2019-12-19T20:43:26Z")

</div>

Hey @zhaosx,

Yes you can hide the Chat and Screenshare with the property in the Init object:

[https://zoom.github.io/sample-app-web/ZoomMtg.html#init](https://zoom.github.io/sample-app-web/ZoomMtg.html#init)

`isSupportChat: false`  
`screenShare: false`  
`showPureSharingContent: false`

Unfortunately we do not have [Gallery View](https://support.zoom.us/hc/en-us/articles/360000005883-Displaying-Participants-in-Gallery-View) on the [Zoom Web Client](https://support.zoom.us/hc/en-us/articles/214629443-Zoom-Web-Client#h_2da60ac7-455e-466f-85d1-974aa68f0703) and Web SDK yet.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![zhaosx](https://avatars.discourse-cdn.com/v4/letter/z/a4c791/32.png) [@zhaosx](https://devforum.zoom.us/u/zhaosx)\
**Post date:** [December 20, 2019, 8:36am UTC](https://devforum.zoom.us/t/embed-zoom-video-to-a-web-server/2882/118 "2019-12-20T08:36:21Z")

</div>

Thank you very much for your last answer,  
I researched the document link you provided and found it very useful, but I want to make a further limitation: only the conference initiator can share the screen, and the participants cannot. These properties don’t seem to be enough at the moment. Can they be achieved?  
On the App, I found that I can make such a restriction, can I set it when called through the API?  
I means this: [https://zoom.github.io/sample-app-web/ZoomMtg.html#init](https://zoom.github.io/sample-app-web/ZoomMtg.html#init)

---

<div class="post-metadata">

**Author:** ![host](https://avatars.discourse-cdn.com/v4/letter/h/3d9bf3/32.png) [@host](https://devforum.zoom.us/u/host)\
**Post date:** [December 20, 2019, 9:59am UTC](https://devforum.zoom.us/t/embed-zoom-video-to-a-web-server/2882/119 "2019-12-20T09:59:32Z")

</div>

@tommy, why are you not answering? I am understanding that you can’t fix the bug (sound in embedding the Zoom Web Client in an iFrame)?

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [December 20, 2019, 5:55pm UTC](https://devforum.zoom.us/t/embed-zoom-video-to-a-web-server/2882/120 "2019-12-20T17:55:46Z")

</div>

Hey @zhaosx, happy to help!

You can programmatically change the settings for each participant / host joining the meeting.

Or you can try limiting the screenshare settings to just the host in the [Zoom profile](https://zoom.us/profile/setting) and [account settings](https://zoom.us/account/setting):

 ![Screen Shot 2019-12-20 at 10.53.54 AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/1/133a04ccd1c909fcb3a08ce1ed684d5d93549a81.png)

Let me know if that helps!

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [December 20, 2019, 5:58pm UTC](https://devforum.zoom.us/t/embed-zoom-video-to-a-web-server/2882/121 "2019-12-20T17:58:44Z")

</div>

Hey @host,

I am not able to reproduce your issue. Please provide the following:

1. Exact description of the issue, including what browsers / devices.

2. Steps to reproduce the error.

3. A link to your code so I can test locally, or a link to your development / production site so I can test on there.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![zhaosx](https://avatars.discourse-cdn.com/v4/letter/z/a4c791/32.png) [@zhaosx](https://devforum.zoom.us/u/zhaosx)\
**Post date:** [December 21, 2019, 2:55am UTC](https://devforum.zoom.us/t/embed-zoom-video-to-a-web-server/2882/122 "2019-12-21T02:55:41Z")

</div>

Hey @tommy,

> You can programmatically change the settings for each participant / host joining the meeting.  
> Or you can try limiting the screenshare settings to just the host in the [Zoom profile]  
> Actually, what I want is that I can preset these when I create a meeting by calling the API.

Maybe what I said confuses you, the specific background like this,

1. A web application with frontend and backend separation.
2. The Frontend integrates the WebSDK to participate in a meeting, and the Backend integrates the API to create a meeting.
3. After the Backend creates a meeting, the Frontend will get a meeting ID and jump directly into it.

In the third step above, when creating a meeting, it can set only the meeting initiator to share the screen. Rather than blocking the screen sharing of participants after creating a meeting, as you said.  
Just like we know the settings on the picture below, can I set them when I create a meeting?

 ![Screen Shot 2019-12-20 at 10.53.54 AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/1/133a04ccd1c909fcb3a08ce1ed684d5d93549a81.png)

Best Regards.  
Rhyme Zhao

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [December 23, 2019, 6:07pm UTC](https://devforum.zoom.us/t/embed-zoom-video-to-a-web-server/2882/123 "2019-12-23T18:07:55Z")

</div>

Hey @zhaosx,

> [@zhaosx](#):
>
> 1. A web application with frontend and backend separation.
> 2. The Frontend integrates the WebSDK to participate in a meeting, and the Backend integrates the API to create a meeting.
> 3. After the Backend creates a meeting, the Frontend will get a meeting ID and jump directly into it.
> 
> In the third step above, when creating a meeting, it can set only the meeting initiator to share the screen.

Yep that is the correct flow. You can implement logic in the middle of Step 3. if the user joining is not the host, then set the screen share settings to false for that user via the `screenShare: false` and `showPureSharingContent: false` properties on the Init meeting function.

> [@zhaosx](#):
>
> In the third step above, when creating a meeting, it can set only the meeting initiator to share the screen. Rather than blocking the screen sharing of participants after creating a meeting, as you said.  
> Just like we know the settings on the picture below, can I set them when I create a meeting?

Unfortunately there is no way to set this setting via the meeting APIs at this time.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![and\_v\_br](https://avatars.discourse-cdn.com/v4/letter/a/c57346/32.png) [@and\_v\_br](https://devforum.zoom.us/u/and_v_br)\
**Post date:** [January 14, 2020, 8:39pm UTC](https://devforum.zoom.us/t/embed-zoom-video-to-a-web-server/2882/124 "2020-01-14T20:39:50Z")

</div>

Hi,  
The iframe is working for me, but it is possible to have only the ZOOM logo and not full page  
Thanks

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [January 14, 2020, 9:01pm UTC](https://devforum.zoom.us/t/embed-zoom-video-to-a-web-server/2882/125 "2020-01-14T21:01:50Z")

</div>

Hey @and_v_br, thanks for posting and using Zoom!

I am not sure what you mean, please provide screenshots.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![and\_v\_br](https://avatars.discourse-cdn.com/v4/letter/a/c57346/32.png) [@and\_v\_br](https://devforum.zoom.us/u/and_v_br)\
**Post date:** [January 14, 2020, 9:33pm UTC](https://devforum.zoom.us/t/embed-zoom-video-to-a-web-server/2882/126 "2020-01-14T21:33:10Z")

</div>

> [@tommy](#):
>
> [https://zoom.us/wc/{meetingID}/join?prefer=1&un=dG9tbXk=](https://zoom.us/wc/%7BmeetingID%7D/join?prefer=1&un=dG9tbXk=)

Hi Tommy, so I use the code that you provide , but I

 ![Zoom1](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/a/a5d8c490d6b8d1ebc5c5e8ba1e0cc77f48227f69.jpeg) do not want the "zoom page open ", only when someone clicks in the logo

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [January 14, 2020, 10:05pm UTC](https://devforum.zoom.us/t/embed-zoom-video-to-a-web-server/2882/127 "2020-01-14T22:05:45Z")

</div>

Hey @and_v_br,

I suggest hiding the Zoom iFrame with CSS or JavaScript until the user clicks on the Zoom logo.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![estevescreativegroup](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/estevescreativegroup/32/3018_2.png) [@estevescreativegroup](https://devforum.zoom.us/u/estevescreativegroup)\
**Post date:** [January 23, 2020, 10:06pm UTC](https://devforum.zoom.us/t/embed-zoom-video-to-a-web-server/2882/128 "2020-01-23T22:06:54Z")

</div>

Thank you for this! is it a way you can provide the embed code for the login itself. Please see photo example below…

 ![Screen Shot 2020-01-23 at 5.00.28 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/5/5e39a58b8778f7fbbbb95cc039397289eafdc685.png)

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [January 23, 2020, 10:22pm UTC](https://devforum.zoom.us/t/embed-zoom-video-to-a-web-server/2882/129 "2020-01-23T22:22:39Z")

</div>

Hey @estevescreativegroup, thanks for posting and using Zoom!

To integrate Zoom login, use our [OAuth flow](https://marketplace.zoom.us/docs/guides/authorization/oauth/oauth-with-zoom).

For additional unrelated questions, please create a new topic in the [Zoom API category](https://devforum.zoom.us/c/zoom-api).

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![Kurt](https://avatars.discourse-cdn.com/v4/letter/k/b19c9b/32.png) [@Kurt](https://devforum.zoom.us/u/Kurt)\
**Post date:** [January 24, 2020, 7:47pm UTC](https://devforum.zoom.us/t/embed-zoom-video-to-a-web-server/2882/130 "2020-01-24T19:47:32Z")

</div>

Hi there

I have my meeting running in an iframe, and then displaying this on a TV in my meeting room, but since there’s no mouse/keyboard hooked up to it I have no way of closing the Join Audio pop up that appears, so it just stays there taking up 30% of the screen.

Is there anyway to programmatically get the meeting audio pop up to away or not show up at all, or maybe have it go away on it’s own after a certain period of time of not interacting with it or something?

Any help would be appreciated!

 ![screenshot-zoom.us-2020.01](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/6/670de87470f144131c6073f88b45285c23987ab4.png)

[Previous page](https://devforum.zoom.us/t/embed-zoom-video-to-a-web-server/2882.md?page=5)

[Next page](https://devforum.zoom.us/t/embed-zoom-video-to-a-web-server/2882.md?page=7)
