Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

[Pico][!NSFW]VR Video plays incorrectly in mobile mode and desktop mode #3192

Closed
picoxr opened this issue Apr 20, 2020 · 9 comments
Closed
Labels
duplicate resolved: this issue or pull request already exists
Milestone

Comments

@picoxr
Copy link

picoxr commented Apr 20, 2020

Configuration

Firefox Reality version: Firefox Reality version 10-141060720
Firefox Reality build ID: 9b36c14

Hardware:
Pico G2 4K - Android - 8.1.0

Steps to Reproduce

  1. Open video website NSFW here.
  2. Click play button

Current Behavior

VR videos play with sound only but no images in non-desktop mode. While in desktop mode, videos can play but rotates violently and doesn't follow head movement correctly.

Expected Behavior

VR videos play correctly in panoramic view in mobile mode.

Possible Solution

Context

Hope to support viewing VR video from Pornhub.com

Error Logs and Stack Traces

@emstanley emstanley added this to the #11 polish milestone Apr 20, 2020
@bluemarvin bluemarvin added the blocked-media Issue blocked by Gecko Media Layer label Apr 30, 2020
@fernandojsg
Copy link

This seems related to #3191 (and https://bugzilla.mozilla.org/show_bug.cgi?id=1619550) as both are using HLS for streaming video using m3u8 and have similar results, a black frame but with sound.

@miketaylr
Copy link

We have some related reports of VR (NSFW) content being audio-only:

webcompat/web-bugs#51497
webcompat/web-bugs#50356
webcompat/web-bugs#50460
(this one says "it worked ok until mid-february")
webcompat/web-bugs#50223
"idk it just started happening"

Given the pattern of breaking on multiple different sites, I'm inclined to think this is a core issue, not a webcompat one.

@bluemarvin
Copy link
Contributor

If they are DelightVR based then it isn't surprising: #3301

It looks like they rolled out an update that broke FxR.

@bluemarvin
Copy link
Contributor

@miketaylr The DellightVR player could be a webcompat issue? I know cvan previous worked with them to fix their player and be compatible with FxR/GeckoView.

@miketaylr
Copy link

Could be -- I need to check each of these sites to see if they're using DelightVR.

@fernandojsg
Copy link

fernandojsg commented May 1, 2020

fwiw I checked the network request and czechvr.com and vrporn.com both use DelightVR 2.0.16 (The same version as the one reported here #3301)
xhamster seems to use a custom solution based on three.js and pornhub seems to be using also a custom raw webgl solution.

@miketaylr
Copy link

Thanks for checking @fernandojsg. It sounds like there are a few playback bugs with HLS, and WebGL (three.js + pornhub) to investigate.

@picoxr picoxr changed the title VR Video plays incorrectly in mobile mode and desktop mode [Pico]VR Video plays incorrectly in mobile mode and desktop mode May 7, 2020
@picoxr picoxr changed the title [Pico]VR Video plays incorrectly in mobile mode and desktop mode [Pico][!NSFW]VR Video plays incorrectly in mobile mode and desktop mode May 7, 2020
@bluemarvin
Copy link
Contributor

I did a little more investigating into this issue and have found several issues. The page fails to enter VR mode due to missing a user interaction. There is one, but we miss it. If the user interaction requirement it turned off, VR may be entered but the code seems to have issue reading the heading so the video is locked. Probably related to this issue:

Uncaught TypeError: can't access property "getViewerPose", this._frameData is undefined
    value dl8-98c2453503bb35523e4559d44392cad68bbebf42.js:45849
    value dl8-98c2453503bb35523e4559d44392cad68bbebf42.js:1382

@bluemarvin
Copy link
Contributor

Since this site uses delight-vr player, it is a dupe of #3301

@bluemarvin bluemarvin added duplicate resolved: this issue or pull request already exists and removed blocked-media Issue blocked by Gecko Media Layer labels May 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate resolved: this issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

5 participants