shortcut to hide/show controller

If manual control is used we override default youtube autohide behavior
and yield control to the user.

Closes #104, #123.
This commit is contained in:
Ilya Grigorik
2016-07-28 14:09:34 +02:00
parent fce4d611b8
commit 3cadcb5463
4 changed files with 23 additions and 0 deletions

View File

@@ -17,6 +17,12 @@
opacity: 1.0;
}
.vsc-hidden { display: none !important; }
.vsc-manual {
visibility: visible !important;
opacity: 1.0 !important;
}
/* 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 {