# Unmute participant

**URL:** <https://devforum.zoom.us/t/unmute-participant/44875>\
**Category:** Web\
**Created:** [March 4, 2021, 4:27pm UTC](https://devforum.zoom.us/t/unmute-participant/44875 "2021-03-04T16:27:57Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![contacto2](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/contacto2/32/17155_2.png) [@contacto2](https://devforum.zoom.us/u/contacto2)\
**Post date:** [March 4, 2021, 4:27pm UTC](https://devforum.zoom.us/t/unmute-participant/44875/1 "2021-03-04T16:27:57Z")

</div>

**Description**  
When I test on localhost to unmute people through code, it works for me, but when I do it in production environment it doesn’t unmute people. The page has https protocol, and it has been tested in different browsers.

**Error**  
I don’t see any errors in the console

**Which Client Web SDK version?**  
Zoom version 1.9

**To Reproduce(If applicable)**  
Code js  
ZoomMtg.getCurrentUser({  
success (response) {  
console.log(response)  
ZoomMtg.mute({userId: res[i].user\_zoom\_id, mute: false});  
}  
});  
I save the .user\_zoom\_id in a database, calling the people to unmute.

Actually match the user’s id with the saved id

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

- Browser: Chrome, Opera

---

<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:** [March 5, 2021, 11:56pm UTC](https://devforum.zoom.us/t/unmute-participant/44875/2 "2021-03-05T23:56:44Z")

</div>

Hey @contacto2 ,

Has the user you are trying to unmute accepted the browser permissions for the mic?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![contacto2](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/contacto2/32/17155_2.png) [@contacto2](https://devforum.zoom.us/u/contacto2)\
**Post date:** [March 6, 2021, 10:47pm UTC](https://devforum.zoom.us/t/unmute-participant/44875/3 "2021-03-06T22:47:28Z")

</div>

How did you detect that you accept it? , why does not the confirmation window appear

---

<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:** [March 8, 2021, 5:16pm UTC](https://devforum.zoom.us/t/unmute-participant/44875/4 "2021-03-08T17:16:27Z")

</div>

Hey @contacto2 ,

The browser will prompt the user. Example:

> [@Web SDK Meeting Audio Problem](https://devforum.zoom.us/t/web-sdk-meeting-audio-problem/22418/3):
>
> @tommy I am experiencing almost the same issues as the original poster. I have only tried it with ‘meetings’. The site is served over https. After clicking “Join Audio by Computer” and allowing microphone in the browser permissions dialog, I see the same error message “Unable to use computer audio”. However I am able to hear others and others can hear me as well. “Join Audio by Computer” button is still visible and clicking “Join Audio by Computer” goes through the same process and leads to th…

Can you provide some screenshots or a video of the issue so we can investigate this further?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![contacto2](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/contacto2/32/17155_2.png) [@contacto2](https://devforum.zoom.us/u/contacto2)\
**Post date:** [March 8, 2021, 8:00pm UTC](https://devforum.zoom.us/t/unmute-participant/44875/5 "2021-03-08T20:00:09Z")

</div>

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/1/1/114e8ad3a6479822499fe39d5e84917b737e2071.png) ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/9/0/9086d179430f3e28aa2f7f2203279cd814b08572.png) ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/a/1/a103b034aa25ea52a6afd084f62bf8a7e8917946.png)  
the sdk is via cdn

---

<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:** [March 9, 2021, 6:45pm UTC](https://devforum.zoom.us/t/unmute-participant/44875/6 "2021-03-09T18:45:54Z")

</div>

Hey @contacto2,

Thank you for providing thost screenshots. Looking at the UI of the Web SDK, it looks like the CSS for the Web SDK isn’t being imported properly. Are you using a [local NPM package](https://marketplace.zoom.us/docs/sdk/native-sdks/web/build#option-1-import-module-locally), or the [CDN method](https://marketplace.zoom.us/docs/sdk/native-sdks/web/build#option-2-import-through-cdn) to import dependencies?

Are you able to share some code showing how you import the Zoom CSS and JS resources into your project as well as how you’re calling unmute?

You may want to use our [Sample Web App](https://github.com/zoom/sample-app-web) as a reference to identify any issues as well.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![contacto2](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/contacto2/32/17155_2.png) [@contacto2](https://devforum.zoom.us/u/contacto2)\
**Post date:** [March 9, 2021, 7:01pm UTC](https://devforum.zoom.us/t/unmute-participant/44875/7 "2021-03-09T19:01:48Z")

</div>

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/7/d/7d412686a19168d647898031f71e48e6f4ed7d27.png) ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/5/5/5569445c09df04c778537d05a93b42bfaf970651.png)  
in fact that’s where I got the dependencies

---

<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:** [March 10, 2021, 10:25pm UTC](https://devforum.zoom.us/t/unmute-participant/44875/8 "2021-03-10T22:25:30Z")

</div>

Hey @contacto2 ,

Your Web SDK CSS links look correct. Are you over ridding the Web SDK styles at all?

Are you able to provide a sample github repo with this issue so we can take a look and reproduce it on our end?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![contacto2](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/contacto2/32/17155_2.png) [@contacto2](https://devforum.zoom.us/u/contacto2)\
**Post date:** [March 11, 2021, 2:01pm UTC](https://devforum.zoom.us/t/unmute-participant/44875/9 "2021-03-11T14:01:47Z")

</div>

The styles have not been modified, html elements have been placed on top, this could affect?  
I can’t share the code :c

---

<div class="post-metadata">

**Author:** ![contacto2](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/contacto2/32/17155_2.png) [@contacto2](https://devforum.zoom.us/u/contacto2)\
**Post date:** [March 11, 2021, 2:07pm UTC](https://devforum.zoom.us/t/unmute-participant/44875/10 "2021-03-11T14:07:28Z")

</div>

However I can make a demonstration and an explanation but it would be something concrete, I don’t think it can be like that …

---

<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:** [March 12, 2021, 6:24pm UTC](https://devforum.zoom.us/t/unmute-participant/44875/11 "2021-03-12T18:24:37Z")

</div>

Hey @contacto2,

> [@contacto2](#):
>
> html elements have been placed on top, this could affect?

That’s correct, it’s possible that customizations on the page are causing the issues we’re seeing here. You can try rolling back your changes one-by-one to see if you can identify any that are causing issues.

First, I would try testing with our [Sample Web App](https://github.com/zoom/sample-app-web) and using the code there as a reference to build our your app.

I also noticed that in the code you provided, it looks like the next tag after the `<link\>` and `<meta\>` is a `section` tag.

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

This implies that the the meta and link tags are in the `<body>` of the HTML document when they should be in the `<head>`. If that’s accurate, try moving those tags to the head section of the the HTML.

Let me know if that helps 🙂

Thanks,  
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:** [April 12, 2021, 4:24am UTC](https://devforum.zoom.us/t/unmute-participant/44875/12 "2021-04-12T04:24:40Z")

</div>

Closed on April 12, 2021, 4:24am UTC

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