diff --git a/src/components/player/display/base.ts b/src/components/player/display/base.ts index 051e2ea3..3b110aed 100644 --- a/src/components/player/display/base.ts +++ b/src/components/player/display/base.ts @@ -206,7 +206,10 @@ export function makeVideoElementDisplayInterface(): DisplayInterface { } function unloadSource() { - if (videoElement) videoElement.src = ""; + if (videoElement) { + videoElement.removeAttribute("src"); + videoElement.load(); + } if (hls) { hls.destroy(); hls = null;