[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
4 changed files with 392 additions and 114 deletions
+2 -2
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(
() => ({