Hello Zoom community,
I’m working with the Zoom Video SDK and have encountered an issue with the Picture-in-Picture (PiP) window that appears when sharing a screen during a meeting. In this setup, the PiP window shows participants and provides a close button (X) to hide the window. However, some users unintentionally click the close button without realizing that it will close the PiP window.
I would like to know if there’s any way to add a confirmation dialog before the PiP window closes. Specifically, I want to ensure that users have to confirm before closing the window to avoid accidental clicks.
Here are the key points I’m wondering about:
- Can the PiP close button behavior be customized through the Zoom Video SDK?
- Is there any way to hook into the PiP window’s close action to display a confirmation dialog before it’s closed?
- If the SDK does not support this directly, are there any workarounds or suggestions on how to implement this functionality?
I’m using the Zoom Video SDK (specifically the VideoClient
API) to manage video, audio, and screen sharing during meetings. However, I don’t see an explicit way to modify the PiP window or its controls.
Any guidance or suggestions on how to handle this would be greatly appreciated!
Thanks in advance for your help.