// Fullscreen Prompt // Purpose: Defines the Fullscreen Prompt module and the local helpers/components used in this file. // Scope: Keeps behavior unchanged while isolating this concern into a clear, single-responsibility unit. export default function FullscreenPrompt({ visible, mode, onEnterFullscreen, onDismiss }) { if (!visible) return null; const isIOSMode = mode === 'pwa-hint'; return (

Better in fullscreen!

{isIOSMode ? (

For fullscreen on iOS, open Safari's share menu and pick Add to Home Screen. Launching from the home screen then makes it fullscreen.

) : (

Enable fullscreen to free up more space for the video feed and controls. You can exit fullscreen at any time via the system back or home gesture.

)}

This will only show once just to let you know. There is a fullscreen button in the bottom right for later use.

{!isIOSMode && ( )}
); }