dan
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
beta/src/content/learn/escape-hatches.md
|
@ -117,7 +117,7 @@ function VideoPlayer({ src, isPlaying }) { |
|
|
} else { |
|
|
} else { |
|
|
ref.current.pause(); |
|
|
ref.current.pause(); |
|
|
} |
|
|
} |
|
|
}); |
|
|
}, [isPlaying]); |
|
|
|
|
|
|
|
|
return <video ref={ref} src={src} loop playsInline />; |
|
|
return <video ref={ref} src={src} loop playsInline />; |
|
|
} |
|
|
} |
|
|