forked from igrigorik/videospeed
-
Notifications
You must be signed in to change notification settings - Fork 1
/
inject.css
68 lines (56 loc) · 1.46 KB
/
inject.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
.vsc-hidden { display: none !important; }
.vsc-manual {
visibility: visible !important;
opacity: 1.0 !important;
}
/* Origin specific overrides */
/* YouTube player */
.ytp-hide-info-bar .vsc-controller {
position: relative;
top: 10px;
}
.ytp-autohide .vsc-controller {
visibility: hidden;
transition: opacity .25s cubic-bezier(0.4,0,0.2,1);
opacity: 0;
}
.ytp-autohide .vcs-show {
visibility: visible;
opacity: 1.0;
}
/* 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 {
position: relative;
top: 45px;
}
.ytp-fullscreen .vsc-controller {
display: block;
position: relative;
top: 60px;
}
/* shift controller on vine.co */
/* e.g. https://vine.co/v/OrJj39YlL57 */
.video-container .vine-video-container .vsc-controller {
margin-left: 40px;
}
/* shift YT 3D controller down */
/* e.g. https://www.youtube.com/watch?v=erftYPflJzQ */
.ytp-webgl-spherical-control {
top: 60px !important;
}
.ytp-fullscreen .ytp-webgl-spherical-control {
top: 100px !important;
}
/* disable Vimeo video overlay */
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;
}
/* Fix black overlay on openai.com */
.Shared-Video-player > .vsc-controller {
height: 0;
}