-
Notifications
You must be signed in to change notification settings - Fork 159
/
videojs-panorama.css
93 lines (90 loc) · 3.54 KB
/
videojs-panorama.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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
/**
* Created by yanwsh on 4/3/16.
*/
.IIV::-webkit-media-controls-play-button,
.IIV::-webkit-media-controls-start-playback-button {
opacity: 0;
pointer-events: none;
width: 5px; }
.video-js .vjs-control-bar {
z-index: 5; }
.video-js.vjs-using-native-controls .vjs-poster, .video-js.vjs-using-native-controls .vjs-big-play-button {
display: block; }
.video-js.vjs-panorama {
display: block; }
.video-js.vjs-panorama .vjs-video-canvas {
position: absolute;
top: 0;
left: 50%;
-webkit-transform: translateX(-50%) translateZ(0);
-moz-transform: translateX(-50%) translateZ(0);
-o-transform: translateX(-50%) translateZ(0);
transform: translateX(-50%) translateZ(0);
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
background: #000;
cursor: pointer; }
.video-js.vjs-panorama .vjs-video-notice-label {
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
-moz-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
-o-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
font-size: 1.3em;
font-size: 1vw;
padding: 0.5em 1em;
background: rgba(0, 0, 0, 0.8);
color: #FFF;
-webkit-border-radius: 0.5em;
-moz-border-radius: 0.5em;
border-radius: 0.5em;
-webkit-transition: opacity 0.3s linear;
-moz-transition: opacity 0.3s linear;
-ms-transition: opacity 0.3s linear;
-o-transition: opacity 0.3s linear;
transition: opacity 0.3s linear; }
.video-js.vjs-panorama .vjs-video-notice-label.vjs-video-notice-fadeOut {
opacity: 0; }
.video-js.vjs-panorama #webgl-error-message {
position: relative;
font-family: monospace;
font-size: 13px;
font-weight: normal;
text-align: center;
color: black;
padding: 1.5em;
width: 400px;
margin: 5em auto 0px;
background: white;
-webkit-transition: opacity 0.3s linear;
-moz-transition: opacity 0.3s linear;
-ms-transition: opacity 0.3s linear;
-o-transition: opacity 0.3s linear;
transition: opacity 0.3s linear; }
.video-js.vjs-panorama #webgl-error-message.vjs-video-notice-fadeOut {
opacity: 0; }
.video-js.vjs-panorama .vjs-loading-spinner {
z-index: 10; }
.video-js.vjs-panorama.vjs-panorama-moible-inline-video.vjs-seeking .vjs-loading-spinner {
display: none; }
.video-js.vjs-panorama.vjs-panorama-moible-inline-video.vjs-waiting .vjs-loading-spinner {
display: block !important; }
.video-js.vjs-panorama.vjs-panorama-moible-inline-video-buffering .vjs-loading-spinner {
display: block !important; }
.video-js.vjs-panorama.vjs-panorama-moible-inline-video-buffering .vjs-loading-spinner:before,
.video-js.vjs-panorama.vjs-panorama-moible-inline-video-buffering .vjs-loading-spinner:after {
-webkit-animation: vjs-spinner-spin 1.1s cubic-bezier(0.6, 0.2, 0, 0.8) infinite, vjs-spinner-fade 1.1s linear infinite;
animation: vjs-spinner-spin 1.1s cubic-bezier(0.6, 0.2, 0, 0.8) infinite, vjs-spinner-fade 1.1s linear infinite; }
.video-js.vjs-panorama.vjs-panorama-moible-inline-video-buffering .vjs-loading-spinner:before,
.video-js.vjs-panorama.vjs-panorama-moible-inline-video-buffering .vjs-loading-spinner:before {
border-top-color: white; }
.video-js.vjs-panorama.vjs-panorama-moible-inline-video-buffering .vjs-loading-spinner:after,
.video-js.vjs-panorama.vjs-panorama-moible-inline-video-buffering .vjs-loading-spinner:after {
border-top-color: white;
-webkit-animation-delay: 0.44s;
animation-delay: 0.44s; }