bugfix streams continuing to run in the background (#1714)
This commit is contained in:
parent
20ff660cb2
commit
63f7a8f15c
1 changed files with 3 additions and 0 deletions
|
@ -604,6 +604,9 @@ export default React.memo<Props>(function VideoJs(props: Props) {
|
||||||
|
|
||||||
window.player.currentTime(0);
|
window.player.currentTime(0);
|
||||||
|
|
||||||
|
// stop streams running in background
|
||||||
|
window.player.loadTech_('html5', null);
|
||||||
|
|
||||||
window.player.claimSrcVhs = null;
|
window.player.claimSrcVhs = null;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue