web: surface clear archive replay compatibility error

This commit is contained in:
every.channel 2026-02-24 03:34:07 -08:00
parent ee8c0b50d5
commit 8e9eafe735
No known key found for this signature in database

View file

@ -232,6 +232,12 @@ async function mountArchivePlayer(name) {
video.autoplay = true; video.autoplay = true;
video.muted = false; video.muted = false;
video.playsInline = true; video.playsInline = true;
video.addEventListener("error", () => {
setHint(
"Archive replay bytes are not browser-HLS compatible yet (legacy container); timeline is available, live path is unaffected.",
"warn",
);
});
mount.appendChild(video); mount.appendChild(video);
const archiveUrl = `/api/archive/${encodeURIComponent(name)}/master.m3u8`; const archiveUrl = `/api/archive/${encodeURIComponent(name)}/master.m3u8`;