-
Notifications
You must be signed in to change notification settings - Fork 0
/
player.css
78 lines (65 loc) · 1.16 KB
/
player.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
69
70
71
72
73
74
75
76
77
78
video::-webkit-media-controls {
display:none !important;
}
.player-js {
position: relative;
margin: 10px auto;
color: #fff;
letter-spacing: 1px;
}
.player-js:hover .video-controls{
opacity: 1;
transition: all 500ms;
}
.player-js .video {
background: #000;
}
.player-js .video video {
width: 100%;
height: 100%;
margin: 0;
}
.player-js .video-controls {
background: linear-gradient(rgba(0,0,0,.9),transparent 20%,transparent 80%,rgba(0,0,0,.9));
position: absolute;
top: 0;
left: 0;
opacity: 0;
z-index: 2147483648;
transition: opacity 3000ms;
}
.player-js .video-hover {
display: block;
}
.player-js .progress-bar:hover {
height: 10px;
}
.player-js .progress-bar {
width: 100%;
height: 5px;
background: #eee;
cursor: pointer;
transition: all 300ms;
}
.player-js .progress-filled {
background: red;
height: 100%;
width: 0;
}
.player-js .lower-controls {
position: absolute;
width: 100%;
bottom: 0;
}
.player-js .control-buttons {
padding: 0 10px;
}
.player-js .control-buttons div{
display: inline-block;
font-size: 20px;
padding: 5px;
}
.player-js .upper-controls {
padding: 10px 20px;
font-size: 25px;
}