zoom / videosdk-ui-toolkit-web

The Zoom Video SDK UI toolkit is a prebuilt video chat user interface powered by the Zoom Video SDK.
https://www.npmjs.com/package/@zoom/videosdk-ui-toolkit
Other
8 stars 6 forks source link

Hide exit/leave button #12

Closed AlexanderKapelyukhovskiy closed 4 months ago

AlexanderKapelyukhovskiy commented 5 months ago

Thank you for providing UI Toolkit. It is really simplifying integration of zoom video chat into websites.

In my use case I need to have a control of ending session outside of Video component. Is there a simple way to hide exit/leave button on panel with buttons ?

AlexanderKapelyukhovskiy commented 4 months ago

I managed to hide button with help of css

tommygaessler commented 4 months ago

Hey @AlexanderKapelyukhovskiy , yes, you may hide the buttons via CSS or JS.

We are working on opening up more flexibility of the control bar and each component.

To end the session outside of the video component, the host could end the session by clicking the end session button in the UI, or you could use the REST API to do this programmatically on the server side: https://developers.zoom.us/docs/video-sdk/apis/#operation/inSessionEventsControl