Created
July 8, 2021 14:10
-
-
Save lek890/2b366f7347f10351de368702a5426291 to your computer and use it in GitHub Desktop.
medium-seeker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<input | |
type="range" | |
value={progress} | |
step="1" | |
min="0" | |
max={duration ? duration : `${duration}`} | |
className="progress" | |
onChange={(e) => onSeek(e.target.value)} | |
onMouseUp={onSeekEnd} | |
onKeyUp={onSeekEnd} | |
/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment