Skip to content

Commit

Permalink
demo: update v8.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
freeshineit committed Dec 17, 2024
1 parent a587412 commit ba8eb55
Show file tree
Hide file tree
Showing 5 changed files with 62 additions and 38 deletions.
16 changes: 8 additions & 8 deletions demos/nginx-demo/html/ezuikit.js

Large diffs are not rendered by default.

49 changes: 36 additions & 13 deletions demos/nginx-demo/html/ezuikit_static/css/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,35 @@
display: block;
}

.footer-controls.themeEditing .footer-controls-left .theme-icon-item:first-child .icon-move.left {
.footer-controls.themeEditing
.footer-controls-left
.theme-icon-item:first-child
.icon-move.left {
display: none;
}

.footer-controls.themeEditing .footer-controls-left .theme-icon-item:nth-last-child(1) .icon-move.right {
.footer-controls.themeEditing
.footer-controls-left
.theme-icon-item:nth-last-child(1)
.icon-move.right {
display: none;
}

.footer-controls .footer-controls-right {
margin-right: 12px;
}

.footer-controls.themeEditing .footer-controls-right .theme-icon-item:first-child .icon-move.left {
.footer-controls.themeEditing
.footer-controls-right
.theme-icon-item:first-child
.icon-move.left {
display: none;
}

.footer-controls.themeEditing .footer-controls-right .theme-icon-item:nth-last-child(1) .icon-move.right {
.footer-controls.themeEditing
.footer-controls-right
.theme-icon-item:nth-last-child(1)
.icon-move.right {
display: none;
}

Expand Down Expand Up @@ -76,26 +88,37 @@
display: block;
}

.header-controls.themeEditing .header-controls-left .theme-icon-item:first-child .icon-move.left {
.header-controls.themeEditing
.header-controls-left
.theme-icon-item:first-child
.icon-move.left {
display: none;
}

.header-controls.themeEditing .header-controls-left .theme-icon-item:nth-last-child(1) .icon-move.right {
.header-controls.themeEditing
.header-controls-left
.theme-icon-item:nth-last-child(1)
.icon-move.right {
display: none;
}

.header-controls.themeEditing .header-controls-right .theme-icon-item:first-child .icon-move.left {
.header-controls.themeEditing
.header-controls-right
.theme-icon-item:first-child
.icon-move.left {
display: none;
}

.header-controls.themeEditing .header-controls-right .theme-icon-item:nth-last-child(1) .icon-move.right {
.header-controls.themeEditing
.header-controls-right
.theme-icon-item:nth-last-child(1)
.icon-move.right {
display: none;
}


.time-area {
position: absolute;
color: #FFFFFF;
color: #ffffff;
width: 68px;
height: 24px;
line-height: 24px;
Expand All @@ -108,8 +131,9 @@
align-items: center;
justify-content: space-around;
padding-left: 4px;
padding-right: 6px;
z-index: 9999999;

user-select: none;
}

.time-area .dot {
Expand All @@ -121,7 +145,6 @@
margin: 0 4px 1px 4px;
}


/* .footer-controls.themeEditing .theme-icon-item {
position: relative;
margin: 0 8px;
Expand All @@ -141,4 +164,4 @@
}
.footer-controls.themeEditing .footer-controls-right .theme-icon-item:nth-last-child(1) .ezuikit-theme-icon >span:nth-child(3){
display: none!important;
} */
} */
29 changes: 15 additions & 14 deletions demos/nginx-demo/html/ezuikit_static/speed/speed.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,28 @@
bottom: 48px;
left: -30px;
color: rgba(0, 0, 0, 0.85);
user-select: none;
}

.speed-select li:hover {
background: #1890FF1a;
background: #1890ff1a;
}

.speed-select ::after {
position: absolute;
bottom: -16px;
left: 40%;
content: ' ';
content: " ";
border: 8px solid transparent;
border-top: 8px solid #FFFFFF;
border-top: 8px solid #ffffff;
}

/*避免触发onmouseleave事件*/
.speed-select ::before {
position: absolute;
bottom: -16px;
left: 0;
content: ' ';
content: " ";
border: 8px solid transparent;
border-top: 8px solid transparent;
width: 100%;
Expand Down Expand Up @@ -58,16 +59,16 @@
}

.speed-select.mobile .selectOption.active {
color: #648FFC;
color: #648ffc;
}

.speed-select .selectOption.active {
color: #648FFC;
color: #648ffc;
}

.speed-select.mobile .selectOption.cancel {
position: absolute;
background: #FFFF;
background: #ffff;
width: 100%;
margin-top: 30px;
height: 45px;
Expand All @@ -76,7 +77,7 @@
list-style: none;
cursor: pointer;
font-size: 16px;
color: rgba(0, 0, 0, .85);
color: rgba(0, 0, 0, 0.85);
border-radius: 10px;
}

Expand All @@ -87,7 +88,7 @@
.speed-select-mask {
position: fixed;
width: 100%;
background: rgba(0, 0, 0, 0.40);
background: rgba(0, 0, 0, 0.4);
/* height: 100vh; */
top: 0;
z-index: 1;
Expand All @@ -104,7 +105,7 @@
height: 100vw;
margin: 0;
background: rgba(0, 0, 0, 0.75);
color: #FFFFFF;
color: #ffffff;

display: flex;
justify-content: center;
Expand All @@ -115,7 +116,7 @@
}

.speed-select.mobile.expend li {
color: #FFFFFF;
color: #ffffff;
}

.speed-select.mobile.expend li:first-child {
Expand All @@ -136,7 +137,7 @@
display: block;
width: 16px;
height: 1px;
background: #FFFFFF;
background: #ffffff;
border: none;
position: absolute;
top: 50%;
Expand All @@ -149,10 +150,10 @@
display: block;
width: 1px;
height: 16px;
background: #FFFFFF;
background: #ffffff;
border: none;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) rotate(45deg);
}
}
4 changes: 2 additions & 2 deletions demos/nginx-demo/html/ezuikit_static/talk/janus.js
Original file line number Diff line number Diff line change
Expand Up @@ -1801,7 +1801,7 @@ function Janus(gatewayCallbacks) {
};
event.track.onmute = event.track.onended;
event.track.onunmute = function(ev) {
Janus.log("Remote track flowing again:", ev);
// Janus.log("Remote track flowing again:", ev);
try {
config.remoteStream.addTrack(ev.target);
pluginHandle.onremotestream(config.remoteStream);
Expand All @@ -1815,7 +1815,7 @@ function Janus(gatewayCallbacks) {
Janus.log('Adding local stream');
var simulcast2 = callbacks.simulcast2 === true ? true : false;
stream.getTracks().forEach(function(track) {
Janus.log('Adding local track:', track);
// Janus.log('Adding local track:', track);
if(!simulcast2) {
config.pc.addTrack(track, stream);
} else {
Expand Down
2 changes: 1 addition & 1 deletion demos/nginx-demo/html/ezuikit_static/talk/tts-v4.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ var spinner = null;
// $('#audios').removeClass('hide').show();
// $('#audioleft').append('<audio id="myaudio" autoplay controls muted>Your browser does not support audio tag</audio>');
// }
Janus.attachMediaStream(document.getElementById("myaudio"), stream);
// Janus.attachMediaStream(document.getElementById("myaudio"), stream);
//$("#myaudio").get(0).muted = "muted";
if(tts.webrtcStuff.pc.iceConnectionState !== "completed" &&
tts.webrtcStuff.pc.iceConnectionState !== "connected") {
Expand Down

0 comments on commit ba8eb55

Please sign in to comment.