Trying to include the JS SDK into an exisiting VueJS project

#1

Hi,

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

0 Likes

#2

I have the same problem, but in React. I install zoom via npm.

0 Likes

#3

I install via npm too. You tried using CDN? I will try now and see.

0 Likes

#4

yes, but i couldn’t do it. If you can will make working, show me please.

0 Likes

#5

yes, i couldn’t do it too… I forgot the nature of the Vue templates. Probably only works with NPM. You got the “Unexpected token” problem too?

0 Likes

#6

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)®,
a = function () {
function e(e, t) {
this.initStatus = e, this.socketCallBack = t, this.canvasInfo = {}, this.joinVoipTimes = 0;
}
return e;
}

I dont know

0 Likes