We have a problem implementing zoom video sdk in our laravel project

We don’t know how to implement zoom in our laravel project and the documentation is not clear enough and we don’t know the steps. We implemented a blade in our project and there is an error in importing the video sdk from the node modules. We cant solve this error and we don’t know what are the steps to implement zoom video sdk in our laravel project.

Hi @it111 ,

Thank you for your post. I’m sorry you’re having these issues with your project. Could you attach a code snippet of how you’re importing the Video SDK into your codebase? Also, could you share the error you’re getting?

Thanks,
Rehema

@it111 Hope you will be fine.

Please :point_down: use CDN version of Zoom Video SDK with your Laravel/Blade rendering.

How to implement/integrate Video SDK with node described here → ReactJS with Zoom Video SDK.

Still any quer please ask. Thanks

Hi Rehema,
Thanks for replying. Here is the blade that we imported the video sdk in

 import ZoomVideo from '@zoom/videosdk'





</script>

And here is the error
Uncaught TypeError: Failed to resolve module specifier “@zoom1234/videosdk”. Relative references must start with either “/”, “./”, or “…/”.

We don’t know what are the steps that we have to do to implement video sdk in our Laravel project.

Thanks for your reply,

We are using the CDN version and it is still not working and we have the same error

Uncaught TypeError: Failed to resolve module specifier “@zoom1234/videosdk”. Relative references must start with either “/”, “./”, or “…/”.

@it111 Please place all the video sdk implementations inside

document.addEventListener('DOMContentLoaded',function(){
            const ZoomVideo = window.WebVideoSDK.default

            console.log(ZoomVideo.createClient())
        });

Tested working fine.

Hello Naeem .
thanks for replying , I tried this solution and still the same problem.

Main problem is in importing ZoomVideo from ‘@zoom1234/videosdk’ , I imported it from node modules folder but this error appeared to me :
GET http://127.0.0.1:8000/node_modules/@zoom/videosdk net::ERR_ABORTED 404 (Not Found)
and I’m sure that I run this command npm install @zoom/videosdk --save

Main problem is in importing ZoomVideo from ‘@zoom1234/videosdk’ , I imported it from node modules folder but this error appeared to me :
GET http://127.0.0.1:8000/node_modules/@zoom/videosdk net::ERR_ABORTED 404 (Not Found)
and I’m sure that I run this command npm install @zoom/videosdk --save

Main problem is in importing ZoomVideo from ‘@zoom1234/videosdk’ , I imported it from node modules folder but this error appeared to me :
GET http://127.0.0.1:8000/node_modules/@zoom/videosdk net::ERR_ABORTED 404 (Not Found)
and I’m sure that I run this command npm install @zoom/videosdk --save

@it111 Can you please share the screenshot of that error?

@it111 As I already mentioned that please use CDN version but you are still using node_module

here is CDN

`<script src="https://source.zoom.us/videosdk/zoom-video-{VERSION_NUMBER}.min.js"></script>`

The latest version is 1.5.5

& Then import Video SDK as like :point_down:

1 Like

Thanks for replying Naeem.
We tried your solution , but when we print ZoomVideo.createClient() in the console we found that all parameters are undefined!

the code :

Is this normally?

@it111 After creating you need to initialize the client as like :point_down:

let client=VideoSDK.createClient();
client.init('en-US');

Already we do this but still we get undefined parameters

Do you have watched session carefully :point_up_2:

@it111 laravel version you are using?

Sorry but we are using vue js and we are using laravel 8

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.