[Video] add scrubber to the web player (#4943)

This commit is contained in:
Samuel Newman 2024-08-26 22:28:45 +01:00 committed by GitHub
parent def9dda29c
commit 9b534b968d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 392 additions and 114 deletions

View file

@ -5,10 +5,10 @@ export function useInteractionState() {
const onIn = React.useCallback(() => {
setState(true)
}, [setState])
}, [])
const onOut = React.useCallback(() => {
setState(false)
}, [setState])
}, [])
return React.useMemo(
() => ({