Description
During the loading of Zoom JS SDK in my React application I am getting two errors which ultimately is causing my Zoom meeting room not to open successfully.
componentDidMount() {
ZoomMtg.setZoomJSLib('http://localhost:3000/node_modules/@zoomus/websdk/dist/lib', '/av');
ZoomMtg.preLoadWasm(); // It works succesfully and loads all three files
ZoomMtg.prepareJssdk(); //This line gives errors and warnings
}
Can you try adding those lines to the top of your file before the componentDidMount runs? My hunch is the files do not load in time and then the Web SDK code executes which throws the errors.
I believe(very much sure) this issue is caused due to CORB policy when the code ZoomMtg.prepareJssdk() runs. 2 days before it was working great with no warnings and errors in my console. I have already posted a question regarding that CORB warning here: