Meeting SDK Type and Version: 3.6.0
Description
I get the error, Error: Automatic publicPath is not supported in this browser
, when trying to init the SDK.
Error?
Uncaught (in promise) Error: Automatic publicPath is not supported in this browser
at zoomus-websdk.umd.min.js:2:967556
at zoomus-websdk.umd.min.js:2:967705
at a2 (zoomus-websdk.umd.min.js:2:970160)
at 894 (zoomus-websdk.umd.min.js:2:970220)
at a (zoomus-websdk.umd.min.js:2:970772)
at 272 (zoomus-websdk.umd.min.js:2:970435)
at a (zoomus-websdk.umd.min.js:2:970772)
at zoomus-websdk.umd.min.js:2:971551
at zoomus-websdk.umd.min.js:2:971558
at zoomus-websdk.umd.min.js:2:971565
Troubleshooting Routes
The meeting SDK sample app is built in React SPA, but I’m using Remix that uses different bundler.
If I inject dependencies manually I can init and join the meeting w/o any issues, but if I try to load the meeting SDK from node_modules
, I get the aforementioned error.
How To Reproduce
Steps to reproduce the behavior including:
1. Create an Zoom OAuth app
2. Install the SDK via npm in the Remix app
3. Load the module via dynamic import()
inside useEffect
to ensure the packages load in the browser only, since the SDK does not support loading server side
4. Observe that any latest browser throws this error
I’m using the latest Chrome.