Fix video playing issue on iOS

This commit is contained in:
Mikkel Svartveit 2024-12-22 19:26:29 +01:00
parent 2b516f0690
commit ff787453ab

View file

@ -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>