mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-01-11 22:40:31 +00:00
chore(Player): add logs
This commit is contained in:
parent
b4c0ab551e
commit
365294946a
1 changed files with 2 additions and 0 deletions
|
|
@ -114,6 +114,8 @@ const Player = ({ urlParams, queryParams }) => {
|
|||
}, []);
|
||||
|
||||
const onEnded = React.useCallback(() => {
|
||||
// here we need to explicitly check for isNavigating.current
|
||||
// because the ended event can be calleb multiple times by MPV inside Shell
|
||||
if (isNavigating.current) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue