web: keep canvas renderer while forcing audio signals

This commit is contained in:
every.channel 2026-02-24 23:13:02 -08:00
parent 4b9d965fac
commit c545b2381d
No known key found for this signature in database
2 changed files with 4 additions and 9 deletions

View file

@ -169,14 +169,9 @@ function mountPlayer(relayUrl, name) {
watch.connection.websocket = { enabled: false };
}
// Use a media element for live playback so browser audio controls/policies apply naturally.
const video = document.createElement("video");
video.className = "archiveVideo";
video.controls = true;
video.autoplay = true;
video.muted = false;
video.playsInline = true;
watch.appendChild(video);
const canvas = document.createElement("canvas");
canvas.className = "canvas";
watch.appendChild(canvas);
mount.appendChild(watch);
const forceAudioOn = () => {