|
|
@ -206,7 +206,10 @@ export function makeVideoElementDisplayInterface(): DisplayInterface { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function unloadSource() { |
|
|
|
function unloadSource() { |
|
|
|
if (videoElement) videoElement.src = ""; |
|
|
|
if (videoElement) { |
|
|
|
|
|
|
|
videoElement.removeAttribute("src"); |
|
|
|
|
|
|
|
videoElement.load(); |
|
|
|
|
|
|
|
} |
|
|
|
if (hls) { |
|
|
|
if (hls) { |
|
|
|
hls.destroy(); |
|
|
|
hls.destroy(); |
|
|
|
hls = null; |
|
|
|
hls = null; |
|
|
|