Revert "add: current timestamp update while sliding the seek bar on Android"

This commit is contained in:
Nayif 2026-01-04 00:11:13 +05:30 committed by GitHub
parent b42401a909
commit a55669d16f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

View file

@ -894,7 +894,7 @@ const AndroidVideoPlayer: React.FC = () => {
isSubtitleModalOpen={modals.showSubtitleModal}
setShowSourcesModal={modals.setShowSourcesModal}
setShowEpisodesModal={type === 'series' ? modals.setShowEpisodesModal : undefined}
onSliderValueChange={(val) => { playerState.isDragging.current = true; playerState.setCurrentTime(val); }}
onSliderValueChange={(val) => { playerState.isDragging.current = true; }}
onSlidingStart={() => { playerState.isDragging.current = true; }}
onSlidingComplete={(val) => {
playerState.isDragging.current = false;

View file

@ -292,7 +292,6 @@ export const PlayerControls: React.FC<PlayerControlsProps> = ({
height: 40,
marginHorizontal: 0,
}}
step={1}
minimumValue={0}
maximumValue={duration || 1}
value={currentTime}