chore(Player): add logs

This commit is contained in:
Timothy Z. 2025-05-20 15:12:29 +03:00
parent b4c0ab551e
commit 365294946a

View file

@ -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;
}