ezuikit-js 8.1.2-beta.1 → 8.1.2-beta.3
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/CHANGELOG.md +257 -0
- package/README.md +14 -14
- package/ezuikit.js +8 -8
- package/ezuikit_static/css/theme.css +36 -13
- package/ezuikit_static/speed/speed.css +15 -14
- package/ezuikit_static/talk/janus.js +2 -2
- package/ezuikit_static/talk/tts-v4.js +1 -1
- package/index.esm.js +62 -0
- package/index.js +62 -0
- package/package.json +27 -9
|
@@ -27,11 +27,17 @@
|
|
|
27
27
|
display: block;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
.footer-controls.themeEditing
|
|
30
|
+
.footer-controls.themeEditing
|
|
31
|
+
.footer-controls-left
|
|
32
|
+
.theme-icon-item:first-child
|
|
33
|
+
.icon-move.left {
|
|
31
34
|
display: none;
|
|
32
35
|
}
|
|
33
36
|
|
|
34
|
-
.footer-controls.themeEditing
|
|
37
|
+
.footer-controls.themeEditing
|
|
38
|
+
.footer-controls-left
|
|
39
|
+
.theme-icon-item:nth-last-child(1)
|
|
40
|
+
.icon-move.right {
|
|
35
41
|
display: none;
|
|
36
42
|
}
|
|
37
43
|
|
|
@@ -39,11 +45,17 @@
|
|
|
39
45
|
margin-right: 12px;
|
|
40
46
|
}
|
|
41
47
|
|
|
42
|
-
.footer-controls.themeEditing
|
|
48
|
+
.footer-controls.themeEditing
|
|
49
|
+
.footer-controls-right
|
|
50
|
+
.theme-icon-item:first-child
|
|
51
|
+
.icon-move.left {
|
|
43
52
|
display: none;
|
|
44
53
|
}
|
|
45
54
|
|
|
46
|
-
.footer-controls.themeEditing
|
|
55
|
+
.footer-controls.themeEditing
|
|
56
|
+
.footer-controls-right
|
|
57
|
+
.theme-icon-item:nth-last-child(1)
|
|
58
|
+
.icon-move.right {
|
|
47
59
|
display: none;
|
|
48
60
|
}
|
|
49
61
|
|
|
@@ -76,26 +88,37 @@
|
|
|
76
88
|
display: block;
|
|
77
89
|
}
|
|
78
90
|
|
|
79
|
-
.header-controls.themeEditing
|
|
91
|
+
.header-controls.themeEditing
|
|
92
|
+
.header-controls-left
|
|
93
|
+
.theme-icon-item:first-child
|
|
94
|
+
.icon-move.left {
|
|
80
95
|
display: none;
|
|
81
96
|
}
|
|
82
97
|
|
|
83
|
-
.header-controls.themeEditing
|
|
98
|
+
.header-controls.themeEditing
|
|
99
|
+
.header-controls-left
|
|
100
|
+
.theme-icon-item:nth-last-child(1)
|
|
101
|
+
.icon-move.right {
|
|
84
102
|
display: none;
|
|
85
103
|
}
|
|
86
104
|
|
|
87
|
-
.header-controls.themeEditing
|
|
105
|
+
.header-controls.themeEditing
|
|
106
|
+
.header-controls-right
|
|
107
|
+
.theme-icon-item:first-child
|
|
108
|
+
.icon-move.left {
|
|
88
109
|
display: none;
|
|
89
110
|
}
|
|
90
111
|
|
|
91
|
-
.header-controls.themeEditing
|
|
112
|
+
.header-controls.themeEditing
|
|
113
|
+
.header-controls-right
|
|
114
|
+
.theme-icon-item:nth-last-child(1)
|
|
115
|
+
.icon-move.right {
|
|
92
116
|
display: none;
|
|
93
117
|
}
|
|
94
118
|
|
|
95
|
-
|
|
96
119
|
.time-area {
|
|
97
120
|
position: absolute;
|
|
98
|
-
color: #
|
|
121
|
+
color: #ffffff;
|
|
99
122
|
width: 68px;
|
|
100
123
|
height: 24px;
|
|
101
124
|
line-height: 24px;
|
|
@@ -108,8 +131,9 @@
|
|
|
108
131
|
align-items: center;
|
|
109
132
|
justify-content: space-around;
|
|
110
133
|
padding-left: 4px;
|
|
134
|
+
padding-right: 6px;
|
|
111
135
|
z-index: 9999999;
|
|
112
|
-
|
|
136
|
+
user-select: none;
|
|
113
137
|
}
|
|
114
138
|
|
|
115
139
|
.time-area .dot {
|
|
@@ -121,7 +145,6 @@
|
|
|
121
145
|
margin: 0 4px 1px 4px;
|
|
122
146
|
}
|
|
123
147
|
|
|
124
|
-
|
|
125
148
|
/* .footer-controls.themeEditing .theme-icon-item {
|
|
126
149
|
position: relative;
|
|
127
150
|
margin: 0 8px;
|
|
@@ -141,4 +164,4 @@
|
|
|
141
164
|
}
|
|
142
165
|
.footer-controls.themeEditing .footer-controls-right .theme-icon-item:nth-last-child(1) .ezuikit-theme-icon >span:nth-child(3){
|
|
143
166
|
display: none!important;
|
|
144
|
-
} */
|
|
167
|
+
} */
|
|
@@ -10,19 +10,20 @@
|
|
|
10
10
|
bottom: 48px;
|
|
11
11
|
left: -30px;
|
|
12
12
|
color: rgba(0, 0, 0, 0.85);
|
|
13
|
+
user-select: none;
|
|
13
14
|
}
|
|
14
15
|
|
|
15
16
|
.speed-select li:hover {
|
|
16
|
-
background: #
|
|
17
|
+
background: #1890ff1a;
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
.speed-select ::after {
|
|
20
21
|
position: absolute;
|
|
21
22
|
bottom: -16px;
|
|
22
23
|
left: 40%;
|
|
23
|
-
content:
|
|
24
|
+
content: " ";
|
|
24
25
|
border: 8px solid transparent;
|
|
25
|
-
border-top: 8px solid #
|
|
26
|
+
border-top: 8px solid #ffffff;
|
|
26
27
|
}
|
|
27
28
|
|
|
28
29
|
/*避免触发onmouseleave事件*/
|
|
@@ -30,7 +31,7 @@
|
|
|
30
31
|
position: absolute;
|
|
31
32
|
bottom: -16px;
|
|
32
33
|
left: 0;
|
|
33
|
-
content:
|
|
34
|
+
content: " ";
|
|
34
35
|
border: 8px solid transparent;
|
|
35
36
|
border-top: 8px solid transparent;
|
|
36
37
|
width: 100%;
|
|
@@ -58,16 +59,16 @@
|
|
|
58
59
|
}
|
|
59
60
|
|
|
60
61
|
.speed-select.mobile .selectOption.active {
|
|
61
|
-
color: #
|
|
62
|
+
color: #648ffc;
|
|
62
63
|
}
|
|
63
64
|
|
|
64
65
|
.speed-select .selectOption.active {
|
|
65
|
-
color: #
|
|
66
|
+
color: #648ffc;
|
|
66
67
|
}
|
|
67
68
|
|
|
68
69
|
.speed-select.mobile .selectOption.cancel {
|
|
69
70
|
position: absolute;
|
|
70
|
-
background: #
|
|
71
|
+
background: #ffff;
|
|
71
72
|
width: 100%;
|
|
72
73
|
margin-top: 30px;
|
|
73
74
|
height: 45px;
|
|
@@ -76,7 +77,7 @@
|
|
|
76
77
|
list-style: none;
|
|
77
78
|
cursor: pointer;
|
|
78
79
|
font-size: 16px;
|
|
79
|
-
color: rgba(0, 0, 0, .85);
|
|
80
|
+
color: rgba(0, 0, 0, 0.85);
|
|
80
81
|
border-radius: 10px;
|
|
81
82
|
}
|
|
82
83
|
|
|
@@ -87,7 +88,7 @@
|
|
|
87
88
|
.speed-select-mask {
|
|
88
89
|
position: fixed;
|
|
89
90
|
width: 100%;
|
|
90
|
-
background: rgba(0, 0, 0, 0.
|
|
91
|
+
background: rgba(0, 0, 0, 0.4);
|
|
91
92
|
/* height: 100vh; */
|
|
92
93
|
top: 0;
|
|
93
94
|
z-index: 1;
|
|
@@ -104,7 +105,7 @@
|
|
|
104
105
|
height: 100vw;
|
|
105
106
|
margin: 0;
|
|
106
107
|
background: rgba(0, 0, 0, 0.75);
|
|
107
|
-
color: #
|
|
108
|
+
color: #ffffff;
|
|
108
109
|
|
|
109
110
|
display: flex;
|
|
110
111
|
justify-content: center;
|
|
@@ -115,7 +116,7 @@
|
|
|
115
116
|
}
|
|
116
117
|
|
|
117
118
|
.speed-select.mobile.expend li {
|
|
118
|
-
color: #
|
|
119
|
+
color: #ffffff;
|
|
119
120
|
}
|
|
120
121
|
|
|
121
122
|
.speed-select.mobile.expend li:first-child {
|
|
@@ -136,7 +137,7 @@
|
|
|
136
137
|
display: block;
|
|
137
138
|
width: 16px;
|
|
138
139
|
height: 1px;
|
|
139
|
-
background: #
|
|
140
|
+
background: #ffffff;
|
|
140
141
|
border: none;
|
|
141
142
|
position: absolute;
|
|
142
143
|
top: 50%;
|
|
@@ -149,10 +150,10 @@
|
|
|
149
150
|
display: block;
|
|
150
151
|
width: 1px;
|
|
151
152
|
height: 16px;
|
|
152
|
-
background: #
|
|
153
|
+
background: #ffffff;
|
|
153
154
|
border: none;
|
|
154
155
|
position: absolute;
|
|
155
156
|
top: 50%;
|
|
156
157
|
left: 50%;
|
|
157
158
|
transform: translate(-50%, -50%) rotate(45deg);
|
|
158
|
-
}
|
|
159
|
+
}
|
|
@@ -1801,7 +1801,7 @@ function Janus(gatewayCallbacks) {
|
|
|
1801
1801
|
};
|
|
1802
1802
|
event.track.onmute = event.track.onended;
|
|
1803
1803
|
event.track.onunmute = function(ev) {
|
|
1804
|
-
Janus.log("Remote track flowing again:", ev);
|
|
1804
|
+
// Janus.log("Remote track flowing again:", ev);
|
|
1805
1805
|
try {
|
|
1806
1806
|
config.remoteStream.addTrack(ev.target);
|
|
1807
1807
|
pluginHandle.onremotestream(config.remoteStream);
|
|
@@ -1815,7 +1815,7 @@ function Janus(gatewayCallbacks) {
|
|
|
1815
1815
|
Janus.log('Adding local stream');
|
|
1816
1816
|
var simulcast2 = callbacks.simulcast2 === true ? true : false;
|
|
1817
1817
|
stream.getTracks().forEach(function(track) {
|
|
1818
|
-
Janus.log('Adding local track:', track);
|
|
1818
|
+
// Janus.log('Adding local track:', track);
|
|
1819
1819
|
if(!simulcast2) {
|
|
1820
1820
|
config.pc.addTrack(track, stream);
|
|
1821
1821
|
} else {
|
|
@@ -231,7 +231,7 @@ var spinner = null;
|
|
|
231
231
|
// $('#audios').removeClass('hide').show();
|
|
232
232
|
// $('#audioleft').append('<audio id="myaudio" autoplay controls muted>Your browser does not support audio tag</audio>');
|
|
233
233
|
// }
|
|
234
|
-
Janus.attachMediaStream(document.getElementById("myaudio"), stream);
|
|
234
|
+
// Janus.attachMediaStream(document.getElementById("myaudio"), stream);
|
|
235
235
|
//$("#myaudio").get(0).muted = "muted";
|
|
236
236
|
if(tts.webrtcStuff.pc.iceConnectionState !== "completed" &&
|
|
237
237
|
tts.webrtcStuff.pc.iceConnectionState !== "connected") {
|