aboutsummaryrefslogtreecommitdiff
path: root/src/component
diff options
context:
space:
mode:
Diffstat (limited to 'src/component')
-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>