mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-01-11 20:10:25 +00:00
Revert "add: current timestamp update while sliding the seek bar on Android"
This commit is contained in:
parent
b42401a909
commit
a55669d16f
2 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -292,7 +292,6 @@ export const PlayerControls: React.FC<PlayerControlsProps> = ({
|
|||
height: 40,
|
||||
marginHorizontal: 0,
|
||||
}}
|
||||
step={1}
|
||||
minimumValue={0}
|
||||
maximumValue={duration || 1}
|
||||
value={currentTime}
|
||||
|
|
|
|||
Loading…
Reference in a new issue