Everytime I join a meeting, I always get this error in the console, though I can successfully join a meeting, it just bothers me if there is an error in the console that is not handled.
Here is my configuration.
...
const query = this.props.router.query;
this.setState({
meetingNumber: query.mid,
userName: atob(query.un),
passWord: query.pwd,
signature: query.sg,
leaveUrl: `/zoom?mid=${query.mid}&pwd=${query.pwd}&un=${query.un}&sg=${query.sg}&md=1`,
});
...
const signature = ZoomMtg.generateSignature({
meetingNumber: meetConfig.meetingNumber,
apiKey: meetConfig.apiKey,
apiSecret: meetConfig.apiSecret,
role: meetConfig.role,
success: function (res) {
console.log(res.result);
}
});
// BTW this does not work, it did not remove the invite button
ZoomMtg.showInviteFunction({ show: false });
ZoomMtg.init({
leaveUrl: this.state.leaveUrl,
isSupportAV: true,
disableInvite: false,
audioPanelAlwaysOpen: false,
isSupportChat: false,
success: function () {
ZoomMtg.join({
meetingNumber: meetConfig.meetingNumber,
userName: meetConfig.userName,
userEmail: '',
signature: signature,
apiKey: meetConfig.apiKey,
passWord: meetConfig.passWord,
success: function (res) {
wrapper.hide();
$('body').removeClass('loading-pointer');
$(document).on('click', () => {
setTimeout(() => {
const participantHeader = $('chat-participant-header');
console.log(participantHeader);
if (participantHeader.is(':visible')) {
console.log('it is visible');
}
}, 100);
});
},
error: function (res) {
console.log(res);
}
});
},
Found the issue, there were other css files conflicting while rendering UI, but this JS error still there.
Now the UI renders ok, but the color scheme is way off (topic for another thread).