Can't Init Meeting


#1

I’m initializing the meeting and on success it calls the success function and there it Joins the room but the join fails with Please Init Meeting First!

Here’s my code

 ZoomMtg.init({
        leaveUrl: meetConfig.leaveUrl,
        isSupportAV: true,
        disableInvite: true,
        debug: true,
        success: function () {
            ZoomMtg.join(
                {
                    meetingNumber: meetConfig.meetingNumber,
                    userName: meetConfig.userName,
                    signature: signature,
                    apiKey: meetConfig.apiKey,
                    userEmail: meetConfig.userName,
                    passWord: meetConfig.passwd,
                    showMeetingHeader: false,
                    success: function(res){
                        console.log('join meeting success');
                    },
                    error: function(res) {
                        console.log(res);
                        if(res.status == false) {
                            jQuery('.post-content').append('<h4>Meeting has not started yet. Please check back later.</h4>');
                            
                            setTimeout(function(){
	                            location.reload();
                            }, 60000);
                        }
                    }
                }
            );
        },
        error: function(res) {
            console.log(res);
        }
    });

#2

Hi @steven,

What version of the JSSDK are you using?

Thanks


#3

1.3.8

I’m also using this in Wordpress so I had to wrap the whole code in (function($) { … },


#4

Hi @steven,

I talked with our Customer support, he mentioned that you were receiving a 3008 error. That error occurs with the meeting has no started[1].

Can you make sure that the host has started the meeting?
Also, what is in your meetingConfig, do you have the role set to 1 or 0?

[1] - https://marketplace.zoom.us/docs/sdk/native-sdks/Web-Client-SDK/resource/error-codes


#5

Role is 0 and meeting IS Started. Problem is that you guys use jquery with the $ and I use everything with jQuery.method

So the conflict is causing this issue. I’m trying to make this work in Wordpress


#6

Hi @steven,

Does using JQeury.method work for you outside of using it within wordpress? We’ve tried on our end it didn’t have any issues.

Thanks