Untitled

 avatar
odi
plain_text
2 years ago
251 B
4
Indexable
const handleFullScreenToggle = async () => {
    if (videoRef.current) {
      try {
        await videoRef.current.presentFullscreenPlayer();
      } catch (error) {
        console.error('Error entering fullscreen mode:', error);
      }
    }
  };
Editor is loading...