Live player fixes and improvements (#11855)

* Only set stalled error when player is visible

* Show activity indicator before live player starts playing

* remove comment

* keep gradients when still image is showing

* fix chips

* red dot and outline
This commit is contained in:
Josh Hawkins
2024-06-10 18:24:25 -05:00
committed by GitHub
parent 30b86271ea
commit 18d561da0e
4 changed files with 79 additions and 53 deletions

View File

@@ -328,7 +328,9 @@ function MSEPlayer({
setBufferTimeout(
setTimeout(() => {
onError("stalled");
if (document.visibilityState === "visible") {
onError("stalled");
}
}, 3000),
);
}