Description
Getting window is not defined error when trying to integrate web SDK Error
ReferenceError: window is not defined
at Object. (…/node_modules/@zoomus/websdk/dist/zoomus-websdk.umd.min.js:2:504)
Thank you for reaching out I really appreciate the effort you’re putting here:
So basically it’s NextJS app and currently I got it to work by doing this:
Still wondering why a simple import had to be this way
it could be something with the SSR nature of Next but still it doesn’t make lot of sense to me
Also another question :
I notice when I navigate to another route without ( hitting the zoom meeting leave button ) when I click on my join button it throws an error : ’ you need to initiate a meeting ’ which the button does already but it seems it only works upon refreshing
So my question is do I need to clean the meeting manually when navigating to another route?