Skip to content

Commit

Permalink
update Google Photos fullscreen selector
Browse files Browse the repository at this point in the history
Previous configuration was misfiring on YouTube and shifting controller
down.
  • Loading branch information
igrigorik committed Aug 27, 2017
1 parent 58e032b commit d30fc88
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions inject.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@
}

/* Google Photos player */
/* Inline preview doesn't have any additional hooks, relying on Aria label */
/* Inline preview doesn't have any additional hooks, relying on Aria label */
a[aria-label^="Video"] .vsc-controller {
position: relative;
top: 35px;
}
/* Google Photos full-screen view */
#player:not(.ytd-watch) .html5-video-container .vsc-controller {
#player .house-brand .vsc-controller {
position: relative;
top: 50px;
}
Expand Down Expand Up @@ -68,7 +68,6 @@ div.video-wrapper + div.target {
height: 0;
}


/* Fix black overlay on Kickstarter */
div.video-player.has_played.vertically_center:before, div.legacy-video-player.has_played.vertically_center:before {
content: none !important;
Expand Down

0 comments on commit d30fc88

Please sign in to comment.