Play About Step video only when visible
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
alt={image.title}
|
||||
/>
|
||||
{:else if video}
|
||||
<video autoplay muted loop playsinline allow="autoplay">
|
||||
<video muted loop playsinline allow="autoplay">
|
||||
<source type="video/mp4" src={getAssetUrlKey(video.mp4, 'step')} />
|
||||
<source type="video/webm" src={getAssetUrlKey(video.webm, 'step')} />
|
||||
<track kind="captions" />
|
||||
|
||||
Reference in New Issue
Block a user