feat: allow pointer lock when no video

This commit is contained in:
Tom Wopat 2025-09-23 23:50:05 -04:00
parent fe77acd5f0
commit 9affd248f3
1 changed files with 1 additions and 1 deletions

View File

@ -542,7 +542,7 @@ export default function WebRTCVideo() {
style={{ animationDuration: "500ms" }}
className="animate-slideUpFade pointer-events-none absolute inset-0 flex items-center justify-center"
>
<div className="relative h-full w-full rounded-md">
<div className="relative h-full w-full rounded-md" onClick={requestPointerLock}>
<LoadingVideoOverlay show={isVideoLoading} />
<HDMIErrorOverlay show={hdmiError} hdmiState={hdmiState} />
<NoAutoplayPermissionsOverlay