Description
I have integrated web sdk into the angular application. Followed the exact sterps as mentioned in websdk-sample-angular on github.
When tried to run locally was getting 404 error for audio and video. Then in my startmeeting component ( not appcomponent) i add the below.
ZoomMtg.setZoomJSLib(‘https://source.zoom.us/1.8.1/lib ’, ‘/av’)
Then it started working locally when i go to localhost:4200/startmeeting the meeting is getting started.
Then i did ng build and deployed the www folder to my hosting account where apache web server is running.
when I try to access the page http://mydomain.com/startmeeting i am getting a404 not found error. All other pages on the domain work except the page where the startmeeting page .
Basically works on local host but does not after deployment.
WebSDK Version 1.8.1
tommy
(Tommy Gaessler)
September 25, 2020, 9:09pm
2
Hey @srikrishna.kasturi ,
srikrishna.kasturi:
When tried to run locally was getting 404 error for audio and video. Then in my startmeeting component ( not appcomponent) i add the below.
ZoomMtg.setZoomJSLib(‘https://source.zoom.us/1.8.1/lib’ , ‘/av’)
Instead of this, try bundling the required Web SDK files by adding this JSON object in angular.json
"options": {
"outputPath": "docs",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.app.json",
"aot": true,
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"node_modules/@zoomus/websdk/dist/css/bootstrap.css",
"node_modules/@zoomus/websdk/dist/css/react-select.css",
"src/styles.css"
],
"scripts": [
],
"allowedCommonJsDependencies": [
]
},
Let me know if that fixes the issue for you!
Thanks,
Tommy
system
(system)
Closed
October 26, 2020, 7:09am
3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.