mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
fix(Player): reset nextVideoPopupDismissed on stream change
This commit is contained in:
parent
eeda6e9fd0
commit
8775e978a4
1 changed files with 1 additions and 0 deletions
|
|
@ -381,6 +381,7 @@ const Player = ({ urlParams, queryParams }) => {
|
|||
React.useEffect(() => {
|
||||
defaultSubtitlesSelected.current = false;
|
||||
defaultAudioTrackSelected.current = false;
|
||||
nextVideoPopupDismissed.current = false;
|
||||
}, [videoState.stream]);
|
||||
React.useEffect(() => {
|
||||
if ((!Array.isArray(videoState.subtitlesTracks) || videoState.subtitlesTracks.length === 0) &&
|
||||
|
|
|
|||
Loading…
Reference in a new issue