> ## Documentation Index
> Fetch the complete documentation index at: https://docs.median.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Zoom

> Add in-app video calls to your app with the Zoom Video SDK, and join sessions from your website with the Median JavaScript Bridge.

The Zoom plugin lets you add [embedded video experiences](https://developers.zoom.us/docs/video-sdk/) built on Zoom's core technology, such as in-app video calling.

> [!TIP]
>
> **Test  with our demo page**
>
> We host a ready-made demo page at
>
> that calls the  features through the Median JavaScript Bridge.
> Load it inside your Median app during development, either by setting it
> as your app's website URL in App Studio or by navigating to it from your
> own site, and use it to confirm  works on a real device before
> you add it to your own pages.
>
> The demo page only works inside a Median app with  enabled.
> Opened in a regular mobile or desktop browser, the native features
> won't respond. Remember to switch your app back to your own URL before
> release.

## Implementation

### Step 1: Generate JWT token

You need a JWT token to join Zoom video calls. Generate a JWT using your SDK Key and SDK Secret as described in Zoom's guide to [generating a Video SDK JWT](https://developers.zoom.us/docs/video-sdk/auth/#how-to-generate-a-video-sdk-jwt).

### Step 2: Run JavaScript Bridge command

Run the following JavaScript Bridge method with the JWT token, meeting number, and an optional username and password as seen below:

Median JavaScript Bridge

```javascript JavaScript theme={null}
// If passed to the `join` method as a callback this will be called upon conclusion of the call
function zoom_callback(data) {
    if (data.error) {
        console.log('Zoom Error: ' + data.error);
    } else if (data.status) {
        console.log('Zoom Status: ' + data.status);
    }
}

// This command returns a promise if 'callback' is not passed
median.zoom.join({
token: string // JWT
sessionName: string // optional
userIdentity: string // optional
password: string // optional
callback: string | function //optional
});

```

Details of the query parameters:

* `token`: JWT Token retrieved using the guide above
* `sessionName`: Name of the video call room
* `userIdentity`: The name that will be shown on the video call room for the user joining the room.
* `password`: Password for the session being joined


## Related topics

- [Webview zoom](https://docs.median.co/docs/webview-zoom.md)
- [Native gestures and interactions](https://docs.median.co/docs/swipe-gestures.md)
- [App interface overview](https://docs.median.co/docs/app-interface-overview.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.