Need to run a custom function

When an attendee is joining a webinar before the host has joined,
component shows a “meeting not started” message and keeps on loading till the host joins

in my case, we take the user to a particular room and then start a zoom meeting because of which
when this case happens , and the attendee uses the leave button on the UI,
we don’t have any trigger to take him out


Fix needed
for leaving and Ending meeting, we have client.leaveMeeting and client.endMeeting
functions, however since the meeting is not joined in this case ,I cant use those to manually trigger zoom meeting exit

how can I stop zoom at this point
it would be helpful either if I can get a trigger on click of the leave button or
if u can help me with which function to run to end this session completely using a self-designed overlay leave UI

Hi, @Zerodistance,

Thank you for posting in the Developer Forum. Good question! Before diving in, can you help me understand the use case a bit more? If you can provide the following information, that will help us figure out the best way forward:

  1. How do you currently manage the problem that you are looking to solve?

  2. What is the most challenging or inconvenient thing about your current solution to the problem?

  3. How much time do you currently spend on this problem, and how much time would you ideally
    spend on it with the help of a trigger on click of the leave button?

That aside, I think you raise a good point that there is no way to take users out when the meeting has not started-- especially in the case where it will start for hours down the road. An alternative workflow you can consider is listening to webinar.participant_joined webhook, then triggering a page refresh to exit if the meeting has not started.

Let us know your thoughts on the above.


Hello @donte.zoom

  1. Currently I’m using the promise resolve by the client.join function to catch error code 3008 to raise a popup asking the user to wait there or exit the page
    exiting the page triggers reload

2)implementing the popup didn’t take much time, but since as i mentioned earlier exit triggers reload
it’s a bad experience, our website is a SPA, on every reload it runs an intro video and the user has to repeat many steps to reach meeting listings to join another one which makes reload option less feasible

3)if you can gimme a custom function, I can just take them to the homepage, which makes everything cool, or another option is to make the end meet work for this case too,

currently, the end meeting removes participants from said meeting and terminates all zoom related activity I presume
for my case, it just has to terminate all zoom related activity, if u can get this done, I can trigger the end meeting instead of reloading

please look into this

Hey @Zerodistance ,

Have you considered using our Webhook events or APIs?

You could do a check to see if the Webinar has started before spinning up the SDK.

Get Webinar Status Webhook: Zoom Meeting API

Webinar Started Webhook: Zoom API Events - Meeting


hello @tommy

ill be sure to look into this

can u please help me with this

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.