Skip to main content
exitFullscreen() Prebuilt Custom
Has no effect on iOS 15.1 and later due to browser limitations.

Return value

void

Example

document.getElementById('exit-fullscreen-btn').onclick = () => {
  call.exitFullscreen();
};

call.on('exited-fullscreen', () => {
  // Fullscreen has exited — update UI accordingly
  document.getElementById('exit-fullscreen-btn').hidden = true;
});

See also