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

<video>s gets increasingly smaller after entering and exiting fullscreen VR videos (reproducible on any site, including YouTube) #833

Closed
MortimerGoro opened this issue Nov 26, 2018 · 3 comments
Labels
bug This issue is a software or functional defect P1 Fix in the current development iteration regression
Milestone

Comments

@MortimerGoro
Copy link
Contributor

STR:

  1. Load https://www.youtube.com/watch?v=sPyAQQklc1s
  2. Enter Fullscreen
  3. Enter 360 video projection
  4. Exit video projection
  5. Exit fullscreen
  6. See Repeat step 2
@MortimerGoro MortimerGoro changed the title Youtube layout get's smaller after entering and exiting fullscreen VR videos Youtube layout gets smaller after entering and exiting fullscreen VR videos Nov 26, 2018
@caseyyee
Copy link
Contributor

caseyyee commented Nov 26, 2018

This also happens with standard 2D YouTube content as well when Fullscreen. Does not seem to be an issue anywhere else.

@cvan
Copy link
Contributor

cvan commented Nov 26, 2018

  1. Load test case #5 from https://webxr.sh/media
  2. Click the video's Fullscreen icon to enter fullscreen
  3. Change the Projection Mode (i.e., the VR Goggles icon)
  4. Press the ← button in the Media/Transport Controls to exit
  5. Re-enter with a new Projection Mode
  6. Notice upon exiting again, the video gets exponentially smaller it seems

@cvan cvan added this to the v1.1 milestone Nov 26, 2018
@cvan cvan added bug This issue is a software or functional defect P1 Fix in the current development iteration regression labels Nov 26, 2018
@cvan cvan changed the title Youtube layout gets smaller after entering and exiting fullscreen VR videos <video>s gets increasingly smaller after entering and exiting fullscreen VR videos (reproducible on any site, including YouTube) Nov 26, 2018
@caseyyee
Copy link
Contributor

OK, so I noticed that with this, the window.innerWidth and Height is changing every fullscreen cycle:

1x 800x450
2x 980x551
3x 1296x729

window.outerWidth and Height remain at 800x450, and screen.width and screen.height also remain 1200x1200

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug This issue is a software or functional defect P1 Fix in the current development iteration regression
Projects
None yet
Development

No branches or pull requests

3 participants