lgtm
This commit is contained in:
parent
f7e0814a38
commit
fd2860070a
55 changed files with 4084 additions and 186 deletions
|
|
@ -146,7 +146,14 @@ function ProductDemoVideo() {
|
|||
onPlay={() => setIsVideoPlaying(true)}
|
||||
onPause={() => setIsVideoPlaying(false)}
|
||||
onEnded={() => setIsVideoPlaying(false)}
|
||||
/>
|
||||
>
|
||||
<track
|
||||
kind="captions"
|
||||
srcLang={(i18n.language ?? 'en').split('-')[0]}
|
||||
label="Captions"
|
||||
src={`/video/${productDemoSlug}.vtt`}
|
||||
/>
|
||||
</video>
|
||||
{!isVideoPlaying && (
|
||||
<div className="pointer-events-none absolute inset-0 flex items-center justify-center bg-navy-950/15 transition-colors">
|
||||
<button
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue