Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable Headlock when starting WebXR/immersive video #1698

Open
javifernandez opened this issue Jan 17, 2025 · 3 comments · May be fixed by #1737
Open

Disable Headlock when starting WebXR/immersive video #1698

javifernandez opened this issue Jan 17, 2025 · 3 comments · May be fixed by #1737
Labels
enhancement New feature or request

Comments

@javifernandez
Copy link
Member

Configuration

Wolvic version: 1.8
Wolvic build ID: 190161443

Hardware: Any

Steps to Reproduce

  1. Search in YouTube for a 3D video (eg Air Pano channel)
  2. Go to Wolvic settings and enable headlock
  3. Change the window's orientation
  4. Enter in immersive move video playing (eg, activate fullscreen)

Current Behavior

The Immersive video is broken, since the view is locked to the headset position

Expected Behavior

Headlock must be disable while playing a 360 video in immersive mode

Possible Solution

Disable the headlock functionality when starting a new webxr session. This should be done not only for videos, but also for any webexr experience or game.

Context

Error Logs and Stack Traces

@javifernandez javifernandez added the bug Something isn't working label Jan 17, 2025
@svillar svillar added needinfo Further information is requested and removed bug Something isn't working labels Jan 20, 2025
@svillar
Copy link
Member

svillar commented Jan 20, 2025

I tried it and I didn't see anything wrong. I recorded a video. It's not seen in the video, but during immersive video play I'm moving my head, it's just that as headlock is enabled the video is always centered.

headlock-video.mp4

@javifernandez
Copy link
Member Author

I considered that having the headlock enabled during this kind of immersive content didn't make sense. But perhaps I'm wrong and there are actual use cases for this behavior; we can close it in that case.

@svillar svillar added enhancement New feature or request and removed needinfo Further information is requested labels Jan 20, 2025
@svillar
Copy link
Member

svillar commented Jan 20, 2025

Talked offline. The problem of having the headlock on is that you cannot inspect the immersive video contents because the headlock will force you to always look at the front. Looks like a good idea to disable it.

@svillar svillar changed the title Disable Headlock when starting a new webxr session Disable Headlock when starting WebXR/immersive video Jan 20, 2025
haanhvu added a commit to haanhvu/wolvic that referenced this issue Jan 30, 2025
haanhvu added a commit to haanhvu/wolvic that referenced this issue Jan 30, 2025
haanhvu added a commit to haanhvu/wolvic that referenced this issue Jan 30, 2025
VR videos are meant for users to be immersed in the whole space around them. Because headlocks locks users in the front of them, it needs to be disabled in VR videos. If users enabled headlock before entering VR videos, we disable it when VR videos show and reenable it when they are exited.

Fixes Igalia#1698
@haanhvu haanhvu linked a pull request Jan 30, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants