Hey Zoom Developers, we have some really exiting updates!
The Web Meeting SDK v2.0.1 release includes the following.
The Web Meeting SDK Component View provides the option to embed the Web Meeting SDK as components in your page, allowing for a more-flexible design.
The Web Meeting SDK Client View provides the option to display the Web Meeting SDK as a full page. This allows for a familiar Zoom Meeting experience because the Client View is the same as the Zoom Web Client, except it lives inside your own web page.
You can choose one view to use in your integration.
I’m sorry to inform you that it seems like you have forgotten to actually add the Component Embedded package as a submodule or an export. So you can’t actually import it.
I tried using all these variants, but with no luck:
import ZoomMtgEmbedded from "@zoomus/websdk/embedded"
const ZoomMtgEmbedded = require("@zoomus/websdk").embedded
import {embedded as ZoomMtgEmbedded } from "@zoomus/websdk"
Failed to compile. Module not found: Can't resolve '@zoomus/websdk/embedded'
What does work though is to manually import the file, instead of the module, like so:
import ZoomMtgEmbedded from "@zoomus/websdk/dist/zoomus-websdk-embedded.umd.min.js"
Fix
Here’s how to fix it on your part.
Add an embedded.js file next to your package.json, which looks exactly like the index.js file, like so:
I had trouble joining a meeting with the Component (Embedded) View SDK, getting an HTTP Error 403 when it was requesting the AV lib files from Zoom’s servers. Note: This at least happened on localhost.
To fix it I used the local av files like so:
import ZoomMtgEmbedded from '@zoomus/websdk/embedded'
const client = ZoomMtgEmbedded.createClient()
client.init({
assetPath: require('path').resolve('node_modules/@zoomus/websdk/dist/lib/av'),
/* rest of the init parameters... */
})
@tommy 2 issues in v2.0.1 of the SDK
When changing the reaction skin tone there is a JS error and not able to change it.
react-dom.min.js:17 Uncaught ReferenceError: isViewOnly is not defined
at zoom-meeting-2.0.1.min.js:2
at redux-thunk.min.js:1
at n. (zoom-meeting-2.0.1.min.js:2)
at zoom-meeting-2.0.1.min.js:2
at onClick (zoom-meeting-2.0.1.min.js:2)
at Object.sh (react-dom.min.js:164)
at rh (react-dom.min.js:13)
at uh (react-dom.min.js:13)
at Ge (react-dom.min.js:15)
at vh (react-dom.min.js:165)
Moreover, there is no option to Add a background image only 4 available backgrounds to select from. This is such a huge limitation while adding support for background. Is this the expected behavior?
@tommy
We plan on implementing the SDK on a WordPress website.
Would it be possible to import the WordPress user name as the meeting user name for users that are logged in to WP when they join a zoom meeting on one of the site’s pages?