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):
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, or the CDN method 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 as a reference to identify any issues as well.
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 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.
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.