Forum Moderators: coopster

Message Too Old, No Replies

Integrating zoom using PHP

         

haidergohar

11:42 pm on Dec 28, 2020 (gmt 0)

5+ Year Member



Hey,

I want to integrate the zoom in a website where online classes would be conducted. There may be at least 8 classes/meetings at a time. It should be on my website interface and shouldn't redirect to the zoom website for meetings. I want these integration done by PHP because whole the website is developed on PHP and there would some data stored in the database regards to meetings/classes. I searched a lot for this on google but couldn't find a way to do it in PHP. I think it may be something easy for JavaScript developers as mostly guidance/tutorials/ways for JavaScript/nodejs. But I'm unable to find a way for that in PHP.

Maybe there would another way rather than using zoom to achieve the goal.

I'm just posting here to get the idea if that is possible in PHP or someone has done it in past and provide me some information/help regards to this project.

Any suggestions and help would be highly appreciatable.

Thanks!

phranque

2:17 am on Dec 29, 2020 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



welcome to WebmasterWorld [webmasterworld.com], haidergohar!

browsers don't process PHP.
browsers are used to request resources from a web server and to render the document returned by the web server's response.
these resources may include HTML documents, style sheets, images, javascript, etc.
PHP may be used by the web server to generate any of these requested resources.

in order for a web browser to embed an application such as zoom, it will require a script of some sort, most likely javascript.
your solution may include using PHP to generate the appropriate javascript for "this" web visitor's zoom session, which will be embedded in the requested HTML document (which may also be generated using PHP), and which document may be styled by CSS (which may or may not also be generated using PHP), etc.

haidergohar

6:27 pm on Dec 29, 2020 (gmt 0)

5+ Year Member



Actually, I have a PHP server and my whole website is developed on PHP. To do it in javascript I would require to install a javascript server runtime such as node js. I don't think I can use node and PHP at the same time and I also haven't experience with node js. So just overwhelming there. Sorry, I'm not much experts in handling APIs and if my question is not right :(

NickMNS

7:13 pm on Dec 29, 2020 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



To do it in javascript I would require to install a javascript server runtime

No, what @phranque is saying is that the "Zoom" implementation would occur client-side, that is on the user's device. That means that your PHP server would serve the javascript code to the client and that JS code would run the user's computer. As such no Javascript engine is required on your server as no code runs on your server.

I don't know whether Zoom offers such a feature, but assuming that they do I would expect that they would provide all necessary documentation for its implementation.

You must also consider that if you provide the user the ability to interact via "Zoom", you need to make content available via "Zoom" so there are at least two implementations to consider.

IMO the simplest way to do such as thing would be to have simple sign up form on your website, where the user signs up for a class and then you email/text the user a Zoom link, and you connect with the user(s) directly in Zoom avoiding any implementation.