File size: 1,079 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
@import 'src/assets/css/mixin.scss';
.JoL-player-container {
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  margin: 0;
  box-sizing: border-box;
  position: relative;
  z-index: 100;
  // background-color: #000;
  .JoL-player {
    @include wh(100%, 100%);
    background-color: #000;
    // 去除视频黑边
    object-fit: cover;
    @include position(absolute, 0, auto, auto, 0);
    z-index: 1;
  }
  .JoL-light-off-mask {
    @include wh(100vw, 100vh);
    @include position(fixed, 0, auto, auto, 0);
    z-index: 0;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
  }
  .video-no-useful-tip,
  .buffering-animation {
    @include wh(100%, 100px);
    @include position(fixed, 50%, auto, auto, 0);
    @include style(16px, #fff);
    margin-top: -50px;
    text-align: center;
    line-height: 100px;
    z-index: 99;
  }
  .player-loading {
    @include position(absolute, 50%, auto, auto, 50%);
    z-index: 30;
    transform: translate(-50%, -50%);
  }
}