Skip to content

Commit b1fb976

Browse files
committed
Use source inside video element
1 parent 3a430b9 commit b1fb976

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

docs/src/components/Feature.astro

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,9 @@ if (asset.alignment === "full-width") {
187187
aria-label={asset.alt}
188188
muted
189189
playsinline
190-
loop
191-
/>
190+
loop>
191+
<source src={asset.path} type="video/mp4" />
192+
</video>
192193
)
193194
}
194195
{

0 commit comments

Comments
 (0)