cancel
Showing results for 
Search instead for 
Did you mean: 
Effective January 9th, 2026 through January 22nd, 2026: The Zoom Community is currently in read-only mode with login disabled, to deliver you a new and improved community experience!

The site is still accessible to view, however, the ability to login, create content, or access your community account is temporarily unavailable. We appreciate your patience during this time. If seeking support, please browse existing community content or ask our Zoom Virtual Agent.

Import { ZoomMtg } from ‘@zoomus/websdk’; causing React app to crash

shubhp10482
Newcomer
Newcomer

I am integrating zoomus/websdk client view in my react-application. The moment I import ZoomMtg my app got crashed. I am not getting any clue why is it happening. On the other hand when I am importing component view, everything is working fine. 
Zoom Meeting SDK: 2.9.5

React version: 16.13.1

 

My code:

// importing in my component

import {ZoomMtg} from '@zoomus/websdk';
ZoomMtg.setZoomJSLib('https://source.zoom.us/2.9.5/lib', '/av');
ZoomMtg.preLoadWasm();
ZoomMtg.prepareWebSDK();
ZoomMtg.i18n.load('en-US');
ZoomMtg.i18n.reload('en-US');
 
// On clicking on my application button when I want user to join meeting
ZoomMtg.init({
leaveUrl: leaveUrl,
success: (success) => {
console.log(success)

ZoomMtg.join({
signature: <signature>,
meetingNumber: <meetingNumber>,
userName: <userName>,
sdkKey: <sdkKey>,
zak: <zak>,
passWord: <passWord>,
success: (success) => {
console.log(success)
},
error: (error) => {
console.log(error)
}
})

},
error: (error) => {
console.log(error)
}
})

 

0 REPLIES 0