mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-05-13 05:21:29 +00:00
Change controls hide delay from 3s to 2s
Reduce the delay for hiding controls from 3 seconds to 2 seconds.
This commit is contained in:
parent
8daca53be3
commit
867458b52f
1 changed files with 1 additions and 1 deletions
|
|
@ -248,7 +248,7 @@ const AndroidVideoPlayer: React.FC = () => {
|
||||||
if (!playerState.isDragging.current) {
|
if (!playerState.isDragging.current) {
|
||||||
playerState.setShowControls(false);
|
playerState.setShowControls(false);
|
||||||
}
|
}
|
||||||
}, 3000); // 3 seconds delay
|
}, 2000); // 2 seconds delay
|
||||||
}
|
}
|
||||||
|
|
||||||
// Cleanup on unmount or when dependencies change
|
// Cleanup on unmount or when dependencies change
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue