Explicitly pause video player when not focused.

This commit is contained in:
Nicholas Tinsley 2024-03-11 15:01:56 -04:00 committed by Clark Chen
parent 1eabf11cdb
commit d52c520c02

View file

@ -147,6 +147,7 @@ class VideoEditorFragment : Fragment(), PositionDragListener, MediaSendPageFragm
}
} else {
stopPositionUpdates()
player.pause()
}
}
isFocused = currentlyFocused