Description
I am trying to integrate the client WebSDK into a Laravel project (Laravel 8.26). I’m using a VueJS component (Vue 3) for the integration.
I’m generating the signature in PHP and passing it through blade, into the Vue component, along with meeting details, user details and the API Key (stored in .env).
I have a button that initiates the user joining the meeting by calling a method:
startMeeting() {
const meetConfig = {
meetingNumber: parseInt(this.meeting.zoom_id),
apiKey: this.apiKey,
leaveUrl: 'https://zoom.us',
userName: this.user.name,
passWord: this.meeting.password,
role: this.role,
};
ZoomMtg.init({
leaveUrl: meetConfig.leaveUrl,
isSupportAV: true,
success: () => {
ZoomMtg.join({
signature: this.signature,
apiKey: meetConfig.apiKey,
meetingNumber: meetConfig.meetingNumber,
userName: meetConfig.userName,
passWord: meetConfig.passWord,
success: (res) => {
console.log('join meeting success');
},
error: (err) => {
console.log(err);
},
});
},
error: (err) => {
console.log(err);
}
});
},
Error
“Cannot read property ‘toString’ of undefined”
Which Client Web SDK version?
1.9.0
Screenshots
Device (please complete the following information):
- Device: 15" MacBook Pro 2016
- OS: macOS Big Sur
- Browser: Chrome
- Browser Version: 88.0.4324.192 (Official Build) (x86_64)