Merge pull request #352 from tapframe/revert-345-feature/seekingTimestamp

Revert "add: current timestamp update while sliding the seek bar on Android"
This commit is contained in:
Nayif 2026-01-04 00:11:31 +05:30 committed by GitHub
commit 7c2b1ac73d
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}