mirror of
https://github.com/eliasstepanik/vdo.ninja.git
synced 2026-01-14 15:18:28 +00:00
Add files via upload
fixed the highlight video button
This commit is contained in:
parent
6752212969
commit
df1f1c5e09
@ -1072,11 +1072,11 @@
|
||||
</label>
|
||||
<span data-translate="guest-joins-with-no-camera">Guest joins with no camera</span>
|
||||
<Br />
|
||||
<label class="switch" title="Make the invite URL encoded, so parameters are harder to tinker with by guests">
|
||||
<label class="switch" title="Make the invite URL encoded, so parameters are harder to tinker with by guests. This also debrands the interface and gives it a new domain name.">
|
||||
<input type="checkbox" data-param="" id="obfuscate_director_1" onchange="updateLink(1,this);">
|
||||
<span class="slider"></span>
|
||||
</label>
|
||||
<span data-translate="obfuscate-link">Obfuscate link and parameters</span>
|
||||
<span data-translate="obfuscate-link">Obfuscate with Invite.cam</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
18
lib.js
18
lib.js
@ -4035,10 +4035,10 @@ function updateMixerRun(e=false){ // this is the main auto-mixing code. It's a
|
||||
container.appendChild(button);
|
||||
if (vid.id == "videosource"){
|
||||
button.onclick = function(event){
|
||||
if (soloVideo === true){
|
||||
soloVideo = false;
|
||||
if (session.infocus === true){
|
||||
session.infocus = false;
|
||||
} else {
|
||||
soloVideo = true;
|
||||
session.infocus = true;
|
||||
}
|
||||
setTimeout(()=>updateMixer(),10);
|
||||
};
|
||||
@ -4047,12 +4047,12 @@ function updateMixerRun(e=false){ // this is the main auto-mixing code. It's a
|
||||
button.dataset.UUID = vid.dataset.UUID;
|
||||
button.onclick = function(event){
|
||||
var target = event.currentTarget;
|
||||
if (soloVideo === target.dataset.UUID){
|
||||
if (session.infocus === target.dataset.UUID){
|
||||
//target.childNodes[0].className = 'las la-arrows-alt';
|
||||
soloVideo = false;
|
||||
session.infocus = false;
|
||||
} else {
|
||||
//target.childNodes[0].className = 'las la-compress';
|
||||
soloVideo = target.dataset.UUID;
|
||||
session.infocus = target.dataset.UUID;
|
||||
//log("session:"+target.dataset.UUID);
|
||||
}
|
||||
setTimeout(()=>updateMixer(),10);
|
||||
@ -4116,10 +4116,10 @@ function updateMixerRun(e=false){ // this is the main auto-mixing code. It's a
|
||||
button.onclick = function(event){
|
||||
event.stopPropagation();
|
||||
event.preventDefault();
|
||||
if (!soloVideo){return;}
|
||||
if (!session.infocus){return;}
|
||||
|
||||
if (soloVideo === true){
|
||||
soloVideo = false;
|
||||
if (session.infocus === true){
|
||||
session.infocus = false;
|
||||
setTimeout(()=>updateMixer(),10);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user