Skip to content

Commit

Permalink
Fix black screen when playing immersive Youtube videos using desktop …
Browse files Browse the repository at this point in the history
…mode. Fixes  #2816 (#2846)
  • Loading branch information
MortimerGoro committed Feb 24, 2020
1 parent cb836f1 commit f354bf0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/src/main/assets/web_extensions/webcompat_youtube/main.css
Expand Up @@ -53,3 +53,10 @@ div.ytp-fullscreen video, .fxr-vr-video {
left: 0px !important;
}

/* When entering fullscreen mode using desktop mode, Youtube has
layout issues at high resolutions. These styles are a workaround to fix the problem:
See https://github.com/MozillaReality/FirefoxReality/issues/2816 */
div.ytp-fullscreen video, .fxr-vr-video {
height: 100% !important;
position: relative !important;
}

0 comments on commit f354bf0

Please sign in to comment.