Skip to content

Conversation

@nitishagar
Copy link
Contributor

Fixes #919 where HDMI error overlays ("No HDMI signal detected") were not visible when video was in fullscreen mode.

Changes:

  • Add fullscreenContainerRef to target the container div
  • Update requestFullscreen() to make container fullscreen instead of video
  • Update releaseKeyboardLock() to check container instead of video
  • Attach ref to container div that includes both video and overlays

This ensures overlays are descendants of the fullscreen element and thus visible according to the Fullscreen API specification.

Previously: video element went fullscreen, overlays (siblings) invisible
Now: container with video + overlays goes fullscreen, all visible

Fixes jetkvm#919 where HDMI error overlays ("No HDMI signal detected")
were not visible when video was in fullscreen mode.

Changes:
- Add fullscreenContainerRef to target the container div
- Update requestFullscreen() to make container fullscreen instead of video
- Update releaseKeyboardLock() to check container instead of video
- Attach ref to container div that includes both video and overlays

This ensures overlays are descendants of the fullscreen element and
thus visible according to the Fullscreen API specification.

Previously: video element went fullscreen, overlays (siblings) invisible
Now: container with video + overlays goes fullscreen, all visible
@CLAassistant
Copy link

CLAassistant commented Nov 16, 2025

CLA assistant check
All committers have signed the CLA.

@ym ym requested a review from adamshiervani November 17, 2025 08:53
@adamshiervani adamshiervani merged commit d49e268 into jetkvm:dev Nov 17, 2025
4 checks passed
pennycoders pushed a commit to pennycoders/kvm that referenced this pull request Nov 17, 2025
@nitishagar nitishagar deleted the fix-919 branch November 20, 2025 05:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

In full screen mode, screen does not indicate when HDMI signal lost due to host shutdown

3 participants