Closes an active video preview.
DOM element containing the preview
Hides all UI toolkit components.
Hides the chat component.
DOM element containing chat.
Hides the session controls component.
DOM element containing controls.
Hides the settings panel component.
DOM element containing settings.
Hides the participants list component.
DOM element containing the users list.
Opens the video preview in a specified container. Use this before joining a session to test video settings.
DOM element to render the preview
Session configuration options
Preview options
Shows the chat component.
DOM element to show chat.
Optional
options: { draggable?: boolean; height?: number; width?: number }Options for the chat component.
Shows the session controls component.
DOM element to show controls.
Optional
options: { draggable?: boolean; orientation?: "vertical" | "horizontal" }Options for the controls component.
Shows the settings panel component.
DOM element to show settings.
Optional
options: { draggable?: boolean; height?: number; width?: number }Options for the settings component.
Shows the participants list component.
DOM element to show users list.
Optional
options: { draggable?: boolean; height?: number; width?: number }Options for the users component.
Removes a previously registered event listener.
The event name to remove the listener from https://marketplacefront.zoom.us/sdk/custom/web/modules/VideoClient.html#off
The callback function to remove from event listeners.
Removes a previously registered session close callback.
Function to remove from event listeners.
Removes a previously registered session join callback.
Function to remove from event listeners.
Removes a view type change event listener.
The callback function to be called when the view type changes.
Registers a callback for a specific event.
The event name to listen for https://marketplacefront.zoom.us/sdk/custom/web/modules/VideoClient.html#on
The callback function to execute when the event occurs.
Registers a callback for session close events. The callback will be triggered when a session ends.
Function to execute on session close.
Registers a callback for when you can destroy uikit.
The callback will be triggered when all uikit components are destroyed.
Registers a callback for session join events. The callback will be triggered when successfully joining a session.
Function to execute on session join.
Adds a view type change event listener.
The callback function to be called when the view type changes.
Changes the view type
The view type to change to.
Closes the current video session.
Optional
container: HTMLElementDOM element containing the session
Destroys the UI toolkit instance and cleans up resources.
void
Get all user info
Array
Get the client instance when debug mode is true
videosdk client instance https://marketplacefront.zoom.us/sdk/custom/web/modules/ZoomVideo.VideoClient.html
Get the current user info
Participant https://marketplacefront.zoom.us/sdk/custom/web/modules/VideoClient.html#getCurrentUserInfo
Get the session info
SessionInfo https://marketplacefront.zoom.us/sdk/custom/web/modules/VideoClient.html#getSessionInfo
Check if the device is supported for custom layout. Only desktop and tablet are supported, mobile is not supported.
boolean
Joins a Zoom video session with specified configuration.
DOM element to render the session UI
Session configuration options
Leaves the session
Get the version of the UI toolkit, Video SDK and Tailwind CSS
{ uikit: string, videosdk: string, tailwindcss: string }
Subscribes to audio statistic data based on the type parameter. https://marketplacefront.zoom.us/sdk/custom/web/modules/Stream.html#subscribeAudioStatisticData
Optional
type: StatisticOptionOptional. Object { encode: Boolean, decode: Boolean }
can specify which type of audio to subscribe to.
''
: Success.Error
: Failure. Details in ErrorTypes.Subscribes to share statistic data based on the type parameter. https://marketplacefront.zoom.us/sdk/custom/web/modules/Stream.html#subscribeShareStatisticData
Optional
type: StatisticOptionOptional. Object { encode: Boolean, decode: Boolean }
can specify which type of share to subscribe to.
''
: Success.Error
: Failure. Details in ErrorTypes.Subscribes to video statistic data based on the type parameter. https://marketplacefront.zoom.us/sdk/custom/web/modules/Stream.html#subscribeVideoStatisticData
Optional
type: VideoStatisticOptionOptional. Object { encode: Boolean, decode: Boolean }
can specify which type of audio should be subscribed to.
''
: Success.Error
: Failure. Details in ErrorTypes.Unsubscribes to audio statistic data based on the type parameter. https://marketplacefront.zoom.us/sdk/custom/web/modules/Stream.html#unsubscribeAudioStatisticData
Optional
type: StatisticOptionOptional. Object { encode: Boolean, decode: Boolean }
can specify which type of audio to unsubscribe to.
''
: Success.Error
: Failure. Details in ErrorTypes.Unsubscribes to share statistic data based on the type parameter. https://marketplacefront.zoom.us/sdk/custom/web/modules/Stream.html#unsubscribeShareStatisticData
Optional
type: StatisticOptionOptional. Object { encode: Boolean, decode: Boolean }
can specify which type of share to unsubscribe to.
''
: Success.Error
: Failure. Details in ErrorTypes.Unsubscribes to video statistic data based on the type parameter. https://marketplacefront.zoom.us/sdk/custom/web/modules/Stream.html#unsubscribeVideoStatisticData
Optional
type: VideoStatisticOptionOptional. Object { encode: Boolean, decode: Boolean }
can specify which type of audio should be unsubscribed to.
''
: Success.Error
: Failure. Details in ErrorTypes.
Zoom Video SDK UI Toolkit API Provides methods for managing video sessions and UI components