@gcorevideo/player 2.25.5 → 2.25.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/audio-tracks/template.ejs +5 -4
- package/assets/bottom-gear/gear.scss +40 -39
- package/assets/media-control/media-control.scss +343 -284
- package/assets/media-control/width270.scss +2 -10
- package/assets/media-control/width370.scss +3 -41
- package/assets/multi-camera/style.scss +9 -19
- package/assets/picture-in-picture/style.scss +13 -0
- package/assets/subtitles/style.scss +108 -68
- package/dist/core.js +1 -1
- package/dist/index.css +1346 -1422
- package/dist/index.embed.js +47 -28
- package/dist/index.js +85 -66
- package/lib/plugins/audio-selector/AudioTracks.d.ts +4 -3
- package/lib/plugins/audio-selector/AudioTracks.d.ts.map +1 -1
- package/lib/plugins/audio-selector/AudioTracks.js +41 -23
- package/lib/plugins/media-control/MediaControl.js +1 -1
- package/lib/plugins/picture-in-picture/PictureInPicture.d.ts +1 -1
- package/lib/plugins/picture-in-picture/PictureInPicture.d.ts.map +1 -1
- package/lib/plugins/picture-in-picture/PictureInPicture.js +1 -1
- package/package.json +1 -1
- package/src/plugins/audio-selector/AudioTracks.ts +53 -29
- package/src/plugins/audio-selector/__tests__/AudioTracks.test.ts +60 -45
- package/src/plugins/audio-selector/__tests__/__snapshots__/AudioSelector.test.ts.snap +24 -24
- package/src/plugins/audio-selector/__tests__/__snapshots__/AudioTracks.test.ts.snap +21 -18
- package/src/plugins/media-control/MediaControl.ts +1 -1
- package/src/plugins/media-control/__tests__/__snapshots__/MediaControl.test.ts.snap +6 -6
- package/src/plugins/picture-in-picture/PictureInPicture.ts +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/assets/audio-tracks/style.scss +0 -124
- package/assets/picture-in-picture/button.scss +0 -12
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
*,
|
|
2
|
-
:focus,
|
|
3
|
-
:visited {
|
|
4
|
-
outline: none !important;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.media-control-audiotracks {
|
|
8
|
-
position: relative;
|
|
9
|
-
|
|
10
|
-
button {
|
|
11
|
-
background-color: transparent;
|
|
12
|
-
color: #fff;
|
|
13
|
-
-webkit-font-smoothing: antialiased;
|
|
14
|
-
border: none;
|
|
15
|
-
cursor: pointer;
|
|
16
|
-
display: flex;
|
|
17
|
-
align-items: center;
|
|
18
|
-
|
|
19
|
-
padding: 0;
|
|
20
|
-
|
|
21
|
-
.audio-text {
|
|
22
|
-
text-overflow: ellipsis;
|
|
23
|
-
overflow: hidden;
|
|
24
|
-
white-space: nowrap;
|
|
25
|
-
max-width: 100px;
|
|
26
|
-
background-color: transparent;
|
|
27
|
-
-webkit-font-smoothing: antialiased;
|
|
28
|
-
border: none;
|
|
29
|
-
cursor: pointer;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&:hover {
|
|
33
|
-
color: white;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&.changing {
|
|
37
|
-
animation: pulse 0.5s infinite alternate;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
span.audio-arrow {
|
|
41
|
-
width: 9px;
|
|
42
|
-
height: 6px;
|
|
43
|
-
margin-left: 5px;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.menu {
|
|
48
|
-
max-width: 114px;
|
|
49
|
-
list-style-type: none;
|
|
50
|
-
position: absolute;
|
|
51
|
-
background-color: rgb(74 74 74 / 60%);
|
|
52
|
-
border: none;
|
|
53
|
-
min-width: 60px;
|
|
54
|
-
border-radius: 4px;
|
|
55
|
-
bottom: 40px;
|
|
56
|
-
right: -2px;
|
|
57
|
-
&.hidden {
|
|
58
|
-
display: none;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
li {
|
|
63
|
-
font-size: var(--font-size-media-controls-dropdown);
|
|
64
|
-
|
|
65
|
-
text-align: right;
|
|
66
|
-
height: 30px;
|
|
67
|
-
|
|
68
|
-
&[data-title] {
|
|
69
|
-
background-color: #c3c2c2;
|
|
70
|
-
padding: 5px;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
a {
|
|
74
|
-
display: block;
|
|
75
|
-
text-decoration: none;
|
|
76
|
-
text-overflow: ellipsis;
|
|
77
|
-
overflow: hidden;
|
|
78
|
-
white-space: nowrap;
|
|
79
|
-
|
|
80
|
-
height: 30px;
|
|
81
|
-
padding: 5px 10px;
|
|
82
|
-
color: #fffffe;
|
|
83
|
-
|
|
84
|
-
&:hover {
|
|
85
|
-
text-decoration: none;
|
|
86
|
-
background-color: rgb(0 0 0 / 40%);
|
|
87
|
-
color: white;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
&.current a {
|
|
93
|
-
color: #f00;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
&:first-child {
|
|
97
|
-
a {
|
|
98
|
-
border-bottom-left-radius: 4px;
|
|
99
|
-
border-bottom-right-radius: 4px;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
&:last-child {
|
|
104
|
-
a {
|
|
105
|
-
border-top-left-radius: 4px;
|
|
106
|
-
border-top-right-radius: 4px;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
@keyframes pulse {
|
|
113
|
-
0% {
|
|
114
|
-
color: #fff;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
50% {
|
|
118
|
-
color: #ff0101
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
100% {
|
|
122
|
-
color: #B80000;
|
|
123
|
-
}
|
|
124
|
-
}
|