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