mirror of
https://github.com/mikkelsvartveit/astro-personal-website.git
synced 2025-12-22 11:12:38 +00:00
Fix video playing issue on iOS
This commit is contained in:
parent
2b516f0690
commit
ff787453ab
1 changed files with 1 additions and 2 deletions
|
|
@ -2,6 +2,5 @@
|
||||||
const { src, width, height } = Astro.props;
|
const { src, width, height } = Astro.props;
|
||||||
---
|
---
|
||||||
|
|
||||||
<video width={width} height={height} autoplay loop muted playsinline>
|
<video src={src} width={width} height={height} autoplay loop muted playsinline>
|
||||||
<source src={src} type="video/mp4" />
|
|
||||||
</video>
|
</video>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue