From 684a516bad84f5f8cd4aceb63057250b2c46b6a7 Mon Sep 17 00:00:00 2001 From: Ilya Grigorik Date: Sat, 25 Feb 2017 21:38:21 -0800 Subject: [PATCH] update controller position selector for YT embeds New player, new styles.. Closes #178. --- inject.css | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/inject.css b/inject.css index 34e8aef..9ffa190 100644 --- a/inject.css +++ b/inject.css @@ -24,15 +24,9 @@ /* YouTube embedded player */ /* e.g. https://www.igvita.com/2012/09/12/web-fonts-performance-making-pretty-fast/ */ -.full-frame .html5-video-player:not(.ytp-fullscreen) .vsc-controller { +.html5-video-player:not(.ytp-hide-info-bar) .vsc-controller { position: relative; - top: 45px; -} - -.ytp-fullscreen .vsc-controller { - display: block; - position: relative; - top: 60px; + top: 40px; } /* shift controller on vine.co */