Merge pull request #345 from saifshaikh1805/feature/seekingTimestamp

This commit is contained in:
Nayif 2026-01-03 01:54:37 +05:30 committed by GitHub
commit 775242255a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 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; }}
onSliderValueChange={(val) => { playerState.isDragging.current = true; playerState.setCurrentTime(val); }}
onSlidingStart={() => { playerState.isDragging.current = true; }}
onSlidingComplete={(val) => {
playerState.isDragging.current = false;

View file

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