Hi all
I’m working is a basic boilerplate environment. I’ve started a new vue 3 project using the vue-create cli which used vite.
Working in the HelloWord.vue component I’m trying to add the zoom meetings sdk.
First step is adding the zoom meeting module using
npm install @zoomus/websdk --save
I then try and import the sdk into the component using
import { ZoomMtg } from "@zoomus/websdk";
I get the error
TypeError: c2 is not a function
I managed to fix this using
import ZoomMtg from "@zoomus/websdk/dist/zoomus-websdk-embedded.umd.min.js";
I then added this line of code as per the zoom vue 2 example on GitHub.
ZoomMtg.setZoomJSLib("https://source.zoom.us/2.8.0/lib", "/av");
This results with an error
Uncaught TypeError: ZoomMtg.setZoomJSLib is not a function
This is the point where I’m at and not sure how to proceed.
Help would be most appreciated.