web: surface clear archive replay compatibility error
This commit is contained in:
parent
ee8c0b50d5
commit
8e9eafe735
1 changed files with 6 additions and 0 deletions
|
|
@ -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`;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue