[Video] add scrubber to the web player (#4943)
This commit is contained in:
parent
def9dda29c
commit
9b534b968d
4 changed files with 392 additions and 114 deletions
|
@ -5,10 +5,10 @@ export function useInteractionState() {
|
|||
|
||||
const onIn = React.useCallback(() => {
|
||||
setState(true)
|
||||
}, [setState])
|
||||
}, [])
|
||||
const onOut = React.useCallback(() => {
|
||||
setState(false)
|
||||
}, [setState])
|
||||
}, [])
|
||||
|
||||
return React.useMemo(
|
||||
() => ({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue