Hello.
I’m having a hard time getting beyond a black screen trying to ZoomMtg.join()
in a Vue app.
I am passing in a meeting config object that looks like this:
{ apiKey: "my-key", leaveUrl: "a url", meetingNumber: 12345, signature: "generated signature", userEmail: "email address", userName: "a name" }
via:
ZoomMtg.init({ leaveUrl: meetConfig.leaveUrl, isSupportAV: true, success: function() { console.log("Successfully initialized meeting. Config:"); console.log(meetConfig); ZoomMtg.join(meetConfig); }
Initially I was seeing this error in my console:
webim.min.js:1 Uncaught SyntaxError: Unexpected token '<'
js_media.min.js:1 Uncaught SyntaxError: Unexpected token '<'
I then tried adding this line:
ZoomMtg.setZoomJSLib( "https://dmogdx0jrul3u.cloudfront.net/1.7.8/lib", "/av" );
above where I do this:
ZoomMtg.preLoadWasm(); ZoomMtg.prepareJssdk();
and now the JS error goes away but is replaced by:
DevTools failed to load SourceMap: Could not load content for https://dmogdx0jrul3u.cloudfront.net/1.7.8/lib/webim.min.js.map: HTTP error: status code 403, net::ERR_HTTP_RESPONSE_CODE_FAILURE
(Which might just be a chrome thing)
In any case I continue to only see a black screen but I noticed that my #zmmtg-root div is now:
<div id="zmmtg-root"><div class="meeting-app"><span></span><div class="loading-layer">0</div></div></div>
but nothing else.
Also, within my Vue component, I added my own <div id="zoom-holder"></div>
and in the code did this: $("#zoom-holder").append($("#zmmtg-root"));
to move the zmmtg-root
into the component and not directly on the body.
Any ideas? I’ve searched around in this forum for other people doing Vue integrations but haven’t found anything that looks like a solution.
Thanks in advance.
Which version?
I’m using zoomus/websdk version “1.7.8” and trying to get it working on Chrome at the moment.