Hi @tommy, I’m hosting locally but still I’m getting the error.
Error
Uncaught SyntaxError: Unexpected token ‘<’ js_media.min.js:1
Snapshot
This snapshot is when I don’t start meeting. When I start meeting, then ReferenceError: JsMediaSDK_Instance is not defined error comes.
Additional Context
When I open downloaded webim.min.js and js_media.min.js in network panel, it opens my index.html page in response.
Finally, able to fix all issues and start meeting also. For the above issue, I fixed it by hosting from Source without a timeout.
Code
ZoomMtg.setZoomJSLib(‘https://source.zoom.us/1.7.2/lib’, ‘/av’);
ZoomMtg.preLoadWasm();
ZoomMtg.prepareJssdk();
I hope, this answer helps whoever encounters this issue.
1 Like
tommy
(Tommy Gaessler)
27
Hey @abhishekkr1993, glad you were able to fix the issue!
Thanks for posting your solution.
-Tommy
ankhmor
(Anton)
28
Well, that’s great, but I want to use my local copy!
Can the error that @abhishekkr1993 is experiencing with js_media.min.js be fixed? I’m also experiencing it.
tommy
(Tommy Gaessler)
29
Hey @ankhmor,
If you want to use local copy, please see the readme on the NPM package:
If you are using Angular by chance, here is how to include the local copy in your project:
Thanks,
Tommy
I was facing the same issue, solve it by using 1.7.4 version , 1.7.2 is removed
ZoomMtg.setZoomJSLib(‘https://source.zoom.us/1.7.4/lib ’, ‘/av’);
1 Like
tommy
(Tommy Gaessler)
31
Hey @kurapati.muralikrish, thanks for sharing!
Yep, upgrading to 1.7.4 is now required.
Thanks,
Tommy