fix: harden player vtt handling

This commit is contained in:
2026-06-16 01:23:37 +02:00
committed by Milas Holsting
parent e7fb4264f7
commit d2a3b0ccda
4 changed files with 38 additions and 5 deletions

View File

@@ -91,7 +91,7 @@ const initPlayer = (): void => {
teardownPlayer();
if (!initState(container)) {
console.error("Video player markup is missing required controls.");
window.showToast?.({ message: "Video player markup is missing required controls." });
return;
}
currentContainer = container;