Updated HLS Player

This commit is contained in:
2025-10-05 23:18:26 +05:30
parent eca2a6f21c
commit 9111c7e355
+1 -1
View File
@@ -189,7 +189,7 @@ const id = `${Math.random().toString(36).slice(2)}`;
if (["disconnected", "failed", "closed"].includes(state)) {
emit("disconnected", { msg: "Stream Ended" });
onEnded();
if (onEnded) onEnded();
}
});