Zoom web sdk leave and exit button is not working

I integrated zoom sdk in Next.js application.Facing issues with zoom sdk end button and leave button.Upon clicking the buttons, nothing is happening and no error logs were found in console.Please find the version of Next.js ,React.js and zoom sdk along with code.

“next”: “^13.4.12”,
@zoomus/websdk”: “^2.17.0”,
“react”: “18.2.0”,

code:
{
ZoomMtg.setZoomJSLib(“https://source.zoom.us/2.17.0/lib”, “/av”);

ZoomMtg.preLoadWasm();
ZoomMtg.prepareJssdk();
// loads language files, also passes any error messages to the ui
ZoomMtg.i18n.load(“en-US”);
ZoomMtg.i18n.reload(“en-US”);

ZoomMtg.init({
leaveUrl: ${window.location.origin},
isSupportChat: false,
disableInvite: true,
debug: true,
disableRecord: true,
showMeetingHeader: true,
meetingInfo: [
// optional
“topic”,
“host”,
“mn”,
“pwd”,
“telPwd”,
“invite”,
“enctype”,
],
success: () => {
ZoomMtg.join({
signature: signature,
sdkKey: sdkKey,
meetingNumber: meetingNumber,
passWord: passWord,
userName: userName,
userEmail: userEmail,
tk: registrantToken,
zak: zakToken,
success: () => {},
error: (err) => {
console.log(err, err);
},
});
},
error: (err) => {
console.log(err, err);
},
});
return loadedZoom;


};

for Client View you have to use react 16

@j.schoenemeyer
Hi, we have 2 other applications running with react version 17+ and dont have any issues there with exit and leave buttons

are you using Component View in the other apps ?

@j.schoenemeyer We are not using component view

this is a very good news - you have 2 workings apps and 1 not working with the same zoom SDK

now you just have to find out the difference - please post your solution here

@j.schoenemeyer Those two applications are in react.js and 1 is with next.js

@gianni.zoom Can you please provide any input on this.

Hi @regulapati.srimuktha,

We’ll try to help you debug. What differences are there between the react and next.js apps, if any? Are you able to share your github links for the code?

Hi @gianni.zoom

Please find the stackblitz link below for next.js project .

Hi @regulapati.srimuktha ,

I’m not able to join. When I click join, I get a blank screen:

@gianni.zoom Hi Gianni

Could you please use any of your own credentials/config to reproduce the issue, since we are not supposed to expose the meeting config here like signature ,sdk key and other details .

Thank you

@gianni.zoom Hi Gianni,

We have an issue with “reactions” as well on zoom meeting screen.nothing is happening upon clicking on reactions.Please let me know in case of any inputs

Thank you

@regulapati.srimuktha thank you for your patience, I’ll try again with my credentials later today!

@gianni.zoom Hi Gianni,Is there any update on this?

Hi @regulapati.srimuktha , still getting black screen with credentials. Can you please share a link to a recording of the behavior you’re seeing?

@gianni.zoom Please find the link below for recording

Oh I see @regulapati.srimuktha ! Please see the below thread:

this is EXACTLY the (known) behaviour if you use zoom SDK (client view) with react 18.2/17.02 instead of react 16.4

  • no reaction button
  • no leave button
  • all other button seems to work

you have to wait until zoom will upgrade zoom SDK from 16.4 to 18.2 or use react 16.4 in your app

2 Likes