Skip to content

Commit ba8eb55

Browse files
committed
demo: update v8.1.2
1 parent a587412 commit ba8eb55

File tree

5 files changed

+62
-38
lines changed

5 files changed

+62
-38
lines changed

demos/nginx-demo/html/ezuikit.js

+8-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demos/nginx-demo/html/ezuikit_static/css/theme.css

+36-13
Original file line numberDiff line numberDiff line change
@@ -27,23 +27,35 @@
2727
display: block;
2828
}
2929

30-
.footer-controls.themeEditing .footer-controls-left .theme-icon-item:first-child .icon-move.left {
30+
.footer-controls.themeEditing
31+
.footer-controls-left
32+
.theme-icon-item:first-child
33+
.icon-move.left {
3134
display: none;
3235
}
3336

34-
.footer-controls.themeEditing .footer-controls-left .theme-icon-item:nth-last-child(1) .icon-move.right {
37+
.footer-controls.themeEditing
38+
.footer-controls-left
39+
.theme-icon-item:nth-last-child(1)
40+
.icon-move.right {
3541
display: none;
3642
}
3743

3844
.footer-controls .footer-controls-right {
3945
margin-right: 12px;
4046
}
4147

42-
.footer-controls.themeEditing .footer-controls-right .theme-icon-item:first-child .icon-move.left {
48+
.footer-controls.themeEditing
49+
.footer-controls-right
50+
.theme-icon-item:first-child
51+
.icon-move.left {
4352
display: none;
4453
}
4554

46-
.footer-controls.themeEditing .footer-controls-right .theme-icon-item:nth-last-child(1) .icon-move.right {
55+
.footer-controls.themeEditing
56+
.footer-controls-right
57+
.theme-icon-item:nth-last-child(1)
58+
.icon-move.right {
4759
display: none;
4860
}
4961

@@ -76,26 +88,37 @@
7688
display: block;
7789
}
7890

79-
.header-controls.themeEditing .header-controls-left .theme-icon-item:first-child .icon-move.left {
91+
.header-controls.themeEditing
92+
.header-controls-left
93+
.theme-icon-item:first-child
94+
.icon-move.left {
8095
display: none;
8196
}
8297

83-
.header-controls.themeEditing .header-controls-left .theme-icon-item:nth-last-child(1) .icon-move.right {
98+
.header-controls.themeEditing
99+
.header-controls-left
100+
.theme-icon-item:nth-last-child(1)
101+
.icon-move.right {
84102
display: none;
85103
}
86104

87-
.header-controls.themeEditing .header-controls-right .theme-icon-item:first-child .icon-move.left {
105+
.header-controls.themeEditing
106+
.header-controls-right
107+
.theme-icon-item:first-child
108+
.icon-move.left {
88109
display: none;
89110
}
90111

91-
.header-controls.themeEditing .header-controls-right .theme-icon-item:nth-last-child(1) .icon-move.right {
112+
.header-controls.themeEditing
113+
.header-controls-right
114+
.theme-icon-item:nth-last-child(1)
115+
.icon-move.right {
92116
display: none;
93117
}
94118

95-
96119
.time-area {
97120
position: absolute;
98-
color: #FFFFFF;
121+
color: #ffffff;
99122
width: 68px;
100123
height: 24px;
101124
line-height: 24px;
@@ -108,8 +131,9 @@
108131
align-items: center;
109132
justify-content: space-around;
110133
padding-left: 4px;
134+
padding-right: 6px;
111135
z-index: 9999999;
112-
136+
user-select: none;
113137
}
114138

115139
.time-area .dot {
@@ -121,7 +145,6 @@
121145
margin: 0 4px 1px 4px;
122146
}
123147

124-
125148
/* .footer-controls.themeEditing .theme-icon-item {
126149
position: relative;
127150
margin: 0 8px;
@@ -141,4 +164,4 @@
141164
}
142165
.footer-controls.themeEditing .footer-controls-right .theme-icon-item:nth-last-child(1) .ezuikit-theme-icon >span:nth-child(3){
143166
display: none!important;
144-
} */
167+
} */

demos/nginx-demo/html/ezuikit_static/speed/speed.css

+15-14
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,28 @@
1010
bottom: 48px;
1111
left: -30px;
1212
color: rgba(0, 0, 0, 0.85);
13+
user-select: none;
1314
}
1415

1516
.speed-select li:hover {
16-
background: #1890FF1a;
17+
background: #1890ff1a;
1718
}
1819

1920
.speed-select ::after {
2021
position: absolute;
2122
bottom: -16px;
2223
left: 40%;
23-
content: ' ';
24+
content: " ";
2425
border: 8px solid transparent;
25-
border-top: 8px solid #FFFFFF;
26+
border-top: 8px solid #ffffff;
2627
}
2728

2829
/*避免触发onmouseleave事件*/
2930
.speed-select ::before {
3031
position: absolute;
3132
bottom: -16px;
3233
left: 0;
33-
content: ' ';
34+
content: " ";
3435
border: 8px solid transparent;
3536
border-top: 8px solid transparent;
3637
width: 100%;
@@ -58,16 +59,16 @@
5859
}
5960

6061
.speed-select.mobile .selectOption.active {
61-
color: #648FFC;
62+
color: #648ffc;
6263
}
6364

6465
.speed-select .selectOption.active {
65-
color: #648FFC;
66+
color: #648ffc;
6667
}
6768

6869
.speed-select.mobile .selectOption.cancel {
6970
position: absolute;
70-
background: #FFFF;
71+
background: #ffff;
7172
width: 100%;
7273
margin-top: 30px;
7374
height: 45px;
@@ -76,7 +77,7 @@
7677
list-style: none;
7778
cursor: pointer;
7879
font-size: 16px;
79-
color: rgba(0, 0, 0, .85);
80+
color: rgba(0, 0, 0, 0.85);
8081
border-radius: 10px;
8182
}
8283

@@ -87,7 +88,7 @@
8788
.speed-select-mask {
8889
position: fixed;
8990
width: 100%;
90-
background: rgba(0, 0, 0, 0.40);
91+
background: rgba(0, 0, 0, 0.4);
9192
/* height: 100vh; */
9293
top: 0;
9394
z-index: 1;
@@ -104,7 +105,7 @@
104105
height: 100vw;
105106
margin: 0;
106107
background: rgba(0, 0, 0, 0.75);
107-
color: #FFFFFF;
108+
color: #ffffff;
108109

109110
display: flex;
110111
justify-content: center;
@@ -115,7 +116,7 @@
115116
}
116117

117118
.speed-select.mobile.expend li {
118-
color: #FFFFFF;
119+
color: #ffffff;
119120
}
120121

121122
.speed-select.mobile.expend li:first-child {
@@ -136,7 +137,7 @@
136137
display: block;
137138
width: 16px;
138139
height: 1px;
139-
background: #FFFFFF;
140+
background: #ffffff;
140141
border: none;
141142
position: absolute;
142143
top: 50%;
@@ -149,10 +150,10 @@
149150
display: block;
150151
width: 1px;
151152
height: 16px;
152-
background: #FFFFFF;
153+
background: #ffffff;
153154
border: none;
154155
position: absolute;
155156
top: 50%;
156157
left: 50%;
157158
transform: translate(-50%, -50%) rotate(45deg);
158-
}
159+
}

demos/nginx-demo/html/ezuikit_static/talk/janus.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1801,7 +1801,7 @@ function Janus(gatewayCallbacks) {
18011801
};
18021802
event.track.onmute = event.track.onended;
18031803
event.track.onunmute = function(ev) {
1804-
Janus.log("Remote track flowing again:", ev);
1804+
// Janus.log("Remote track flowing again:", ev);
18051805
try {
18061806
config.remoteStream.addTrack(ev.target);
18071807
pluginHandle.onremotestream(config.remoteStream);
@@ -1815,7 +1815,7 @@ function Janus(gatewayCallbacks) {
18151815
Janus.log('Adding local stream');
18161816
var simulcast2 = callbacks.simulcast2 === true ? true : false;
18171817
stream.getTracks().forEach(function(track) {
1818-
Janus.log('Adding local track:', track);
1818+
// Janus.log('Adding local track:', track);
18191819
if(!simulcast2) {
18201820
config.pc.addTrack(track, stream);
18211821
} else {

demos/nginx-demo/html/ezuikit_static/talk/tts-v4.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ var spinner = null;
231231
// $('#audios').removeClass('hide').show();
232232
// $('#audioleft').append('<audio id="myaudio" autoplay controls muted>Your browser does not support audio tag</audio>');
233233
// }
234-
Janus.attachMediaStream(document.getElementById("myaudio"), stream);
234+
// Janus.attachMediaStream(document.getElementById("myaudio"), stream);
235235
//$("#myaudio").get(0).muted = "muted";
236236
if(tts.webrtcStuff.pc.iceConnectionState !== "completed" &&
237237
tts.webrtcStuff.pc.iceConnectionState !== "connected") {

0 commit comments

Comments
 (0)