zebra-report: drop broken unmute-audio button from screen/camera tiles
Mirror source.
This commit is contained in:
parent
4a336a2702
commit
44e878db7b
1 changed files with 2 additions and 15 deletions
|
|
@ -683,19 +683,6 @@ function renderVideoTile(kind, pubHex, stream, opts){
|
||||||
const meta = document.createElement('div'); meta.className = 'screen-meta';
|
const meta = document.createElement('div'); meta.className = 'screen-meta';
|
||||||
const who = document.createElement('span'); who.textContent = k.labelPrefix+': '+label;
|
const who = document.createElement('span'); who.textContent = k.labelPrefix+': '+label;
|
||||||
const ctl = document.createElement('span');
|
const ctl = document.createElement('span');
|
||||||
/* local preview never offers unmute — playing our own captured audio
|
|
||||||
* back would feed straight into our mic */
|
|
||||||
if (!local){
|
|
||||||
const unmute = document.createElement('button'); unmute.className = 'small';
|
|
||||||
unmute.textContent = 'unmute audio';
|
|
||||||
unmute.onclick = () => {
|
|
||||||
video.muted = !video.muted;
|
|
||||||
if (video.muted) video.setAttribute('muted', ''); else video.removeAttribute('muted');
|
|
||||||
unmute.textContent = video.muted ? 'unmute audio' : 'mute audio';
|
|
||||||
try { video.play().catch(e => logLine('err','play after unmute: '+e.message)); } catch(_){}
|
|
||||||
};
|
|
||||||
ctl.appendChild(unmute);
|
|
||||||
}
|
|
||||||
const pop = document.createElement('button'); pop.className = 'small';
|
const pop = document.createElement('button'); pop.className = 'small';
|
||||||
pop.textContent = 'fullscreen'; pop.onclick = () => video.requestFullscreen && video.requestFullscreen().catch(()=>{});
|
pop.textContent = 'fullscreen'; pop.onclick = () => video.requestFullscreen && video.requestFullscreen().catch(()=>{});
|
||||||
ctl.appendChild(pop);
|
ctl.appendChild(pop);
|
||||||
|
|
@ -1899,8 +1886,8 @@ logLine('', 'ready — pick a handle, type a rendezvous code, enter the space');
|
||||||
|
|
||||||
<footer style="margin:2.2rem auto 0;font-size:0.65rem;color:#999;line-height:1.7;word-break:break-all;font-family:monospace">
|
<footer style="margin:2.2rem auto 0;font-size:0.65rem;color:#999;line-height:1.7;word-break:break-all;font-family:monospace">
|
||||||
<span id="pi-seal" style="color:#777;cursor:default;user-select:none" title="">page integrity</span> · built <span class="stamp-date">2026-06-02</span><br>
|
<span id="pi-seal" style="color:#777;cursor:default;user-select:none" title="">page integrity</span> · built <span class="stamp-date">2026-06-02</span><br>
|
||||||
md5 <span class="stamp-md5">39992d2506da348cfff78c04a999e409</span><br>
|
md5 <span class="stamp-md5">9add55fa25652241d5380905ec721cd0</span><br>
|
||||||
sha256 <span class="stamp-sha">0208f19ac63acfd243a6e745aa045fd1d56a206bbff9ca3f058e6c2466aed525</span><br>
|
sha256 <span class="stamp-sha">41f154d5aab1f9d388f5dad20036c74ca9ccbfab6784d6479646d1d2493e9064</span><br>
|
||||||
<span style="color:#bbb">hashes are of this page with these two fields zeroed — to verify, blank them and re-hash</span><br>
|
<span style="color:#bbb">hashes are of this page with these two fields zeroed — to verify, blank them and re-hash</span><br>
|
||||||
<span style="color:#bbb">one self-contained file — <strong>save a copy</strong> and verify against these hashes; point at your own servers with ?signal= and ?turncred=, or <a href="host-your-own.html" style="color:#999">host your own community</a></span>
|
<span style="color:#bbb">one self-contained file — <strong>save a copy</strong> and verify against these hashes; point at your own servers with ?signal= and ?turncred=, or <a href="host-your-own.html" style="color:#999">host your own community</a></span>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue