I’m trying to integrate the Web SDK following this part of the tutorial:
In my index.html i include the JQuery using CDN because the local way are not working: The local way:<script src="node_modules/jquery/dist/jquery.js"></script> Using:<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
Add the dependencies to the index.html: <link type="text/css" rel="stylesheet" href="node_modules/zoomus-jssdk/dist/css/bootstrap.css" /> <link type="text/css" rel="stylesheet" href="node_modules/zoomus-jssdk/dist/css/react-select.css" />
And put all the index.js in my component script.
I can connect to the meeting, but I get these errors and my screen got stuck:
Am I doing something wrong or is something missing?
Thanks in advance
yes. i think the only way is via npm. But for a reason not have the “JsMediaSDK_Instance” reference when try create the object in this part:
{
key: “creatAVSocket”,
value: function () {
function e() {
var e = this.props,
n = e.meeting,
r = e.baseStaticUrl,
o = new JsMediaSDK_Instance(),
i = (0, g.getVersionFromURL)(r),
a = function () {
function e(e, t) {
this.initStatus = e, this.socketCallBack = t, this.canvasInfo = {}, this.joinVoipTimes = 0;
}
return e;
}
Thanks for the reply.
The CDN version works well, but I did not want to have to use the zoom SDK in an iframe, but locally importing via npm.
At the moment this is the only alternative?
Thank’s for your time
here is a demo use vue and zoom websdk npm version.
the root cause is the vue can’t provide a proxy to access the websdk static resource which located in node_moduls/zoomus-jssdk/
so need to use the CDN to solve the websdk dependencies.
ZoomMtg.setZoomJSLib(‘https://dmogdx0jrul3u.cloudfront.net/{WEBSDK_VERSION}/lib’, ‘/av’);
Hi @tommy I’m new to Vue and also it’s my first time that i’m integrating zoom with my Laravel+vue project.
I’m facing same problem like this.
I read the documentation but I’m still unable to solve this error.
bellow script tag is already included in my main file which is welcome.blade.php
before that i was getting 404 error for including below files from node_modules so i copied zoom folder so static folder.
and added these in head ( i copied zoomus folder from node_modules to my public/assets/zoomData folder)
Hi @tommy thanks for reply. i jumped to another work because i was unable to solve it and i did not noticed your reply… I am sorry for that… i am still getting errors see below.