mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-01-11 22:40:31 +00:00
Merge pull request #895 from Stremio/fix/binge-watching-next-episode
Some checks are pending
Build / build (push) Waiting to run
Some checks are pending
Build / build (push) Waiting to run
Player: Fix Auto play next episode
This commit is contained in:
commit
1247fc18f7
1 changed files with 8 additions and 1 deletions
|
|
@ -620,7 +620,14 @@ const Player = ({ urlParams, queryParams }) => {
|
|||
video.events.off('extraSubtitlesTrackAdded', onExtraSubtitlesTrackAdded);
|
||||
video.events.off('implementationChanged', onImplementationChanged);
|
||||
};
|
||||
}, []);
|
||||
}, [
|
||||
onError,
|
||||
onEnded,
|
||||
onSubtitlesTrackLoaded,
|
||||
onExtraSubtitlesTrackLoaded,
|
||||
onExtraSubtitlesTrackAdded,
|
||||
onImplementationChanged
|
||||
]);
|
||||
|
||||
React.useLayoutEffect(() => {
|
||||
return () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue