aboutsummaryrefslogtreecommitdiff
path: root/src/component/VideoAuto.astro
diff options
context:
space:
mode:
authorWilliam Hergès <william@herges.fr>2025-08-09 16:17:14 +0200
committerWilliam Hergès <william@herges.fr>2025-08-09 16:17:14 +0200
commita9d58f8df8f8573e06ad6570cfd4740312d42edb (patch)
tree9e7307e163af224461f5cd8c22a954cc9058dcce /src/component/VideoAuto.astro
parentc73e8682e119e8f3f88fb8b5dd401ffc5c72afb0 (diff)
feat(batteur): videos
Diffstat (limited to 'src/component/VideoAuto.astro')
-rw-r--r--src/component/VideoAuto.astro7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/component/VideoAuto.astro b/src/component/VideoAuto.astro
new file mode 100644
index 0000000..c8b0fe6
--- /dev/null
+++ b/src/component/VideoAuto.astro
@@ -0,0 +1,7 @@
+---
+const { src } = Astro.props;
+---
+
+<video muted autoplay loop>
+ <source src={src} />
+</video>