MozillaReality / FirefoxReality

INACTIVE - A fast and secure browser for standalone virtual-reality and augmented-reality headsets.
https://mzl.la/reality
Mozilla Public License 2.0
768 stars 217 forks source link

The video in the inactive window starts playing and then pausen when exting theater mode #2958

Closed Softvision-GeluHaiduc closed 3 months ago

Softvision-GeluHaiduc commented 4 years ago

[Affected Versions]:

[Affected Platforms]:

[Prerequisites]:

[Steps to reproduce]:

  1. In one of the windows play the video.
  2. In the remaining window enter theater mode and play the video.
  3. Exit theater mode.
  4. Observe the video from the inactive window.

[Expected results]:

[Actual results]:

[Notes]:

keianhzo commented 4 years ago

For my debugging I see different behavior in GV between exiting fullscreen mode from JS or doing it using the GV API.

If exiting from JS the current media session is paused and the next media session is resumed. If exiting through the GV API the current media session seems to be resumed after calling exitFullScreen on the session.

Might be related to #2654