How to Automatically Trigger Fullscreen Mode in Zoom Meeting SDK (Client View) Without User Interaction?

Meeting SDK Type and Version
zoom/meetingsdk: 3.1.6

Description
Hi everyone,

I’m developing a web application using the Zoom Meeting SDK in Client View mode using NextJS . I’d like to automatically enable fullscreen view mode for participants as soon as they join the meeting, without requiring any manual action (such as selecting “Fullscreen” from the View dropdown).

Is there any supported way to programmatically trigger fullscreen mode by default in Client View, or simulate this behavior using SDK methods or browser APIs?

Any guidance or workarounds would be greatly appreciated!

Thanks in advance.

Hi @zoom_dev1,

I’m working with the Zoom Meeting SDK (v3.1.6) in Client View mode within a Next.js app, and I wanted to auto-enable fullscreen for users as soon as they join a meeting.

While the SDK doesn’t expose a direct method to toggle fullscreen, I found a simple workaround using the browser’s Fullscreen API. Here’s a snippet that selects the Zoom container and requests fullscreen mode:

window.addEventListener('DOMContentLoaded', () => {
  const zoomRoot = document.getElementById('zmmtg-root');

  if (zoomRoot && zoomRoot.requestFullscreen) {
    zoomRoot.requestFullscreen().catch(err => {
      console.warn('Fullscreen request failed:', err);
    });
  }
});

Select this element: <div id="zmmtg-root"></div>

Important note: Most browsers require a user interaction (like clicking a button) before allowing fullscreen mode. So, for reliable behavior, try calling requestFullscreen() in a user-initiated event handler—such as right after the participant clicks “Join.”

Hope this helps anyone trying to streamline the Zoom UI experience!

Best,
zoom_dev1