From 994d7fc850098bc3fcf2d4e42ad053975aceba7f Mon Sep 17 00:00:00 2001 From: MinamiFunakoshiTR Date: Mon, 28 Jul 2025 10:28:01 -0400 Subject: [PATCH] small tweaks --- src/components/ScrollerVideo/ScrollerVideo.mdx | 4 ++-- src/components/ScrollerVideo/demo/Embedded.svelte | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/ScrollerVideo/ScrollerVideo.mdx b/src/components/ScrollerVideo/ScrollerVideo.mdx index ec070891..d2ae6e0f 100644 --- a/src/components/ScrollerVideo/ScrollerVideo.mdx +++ b/src/components/ScrollerVideo/ScrollerVideo.mdx @@ -84,8 +84,8 @@ Setting `embedded` will autoplay the whole `ScrollerVideo` component like a vide embedded embeddedProps={{ delay: 200, - threshold: 0.5, // threshold forplayback - height: '80svh', // height of the video + threshold: 0.5, // threshold for triggering the autoplay + height: '80svh', // height of the scroll container duration: 5000, // time duration from start to end }} /> diff --git a/src/components/ScrollerVideo/demo/Embedded.svelte b/src/components/ScrollerVideo/demo/Embedded.svelte index cfbb5ff2..746aea73 100644 --- a/src/components/ScrollerVideo/demo/Embedded.svelte +++ b/src/components/ScrollerVideo/demo/Embedded.svelte @@ -58,7 +58,7 @@ height="200svh" trackScroll={false} showDebugInfo - embedded + embedded={true} embeddedProps={{ threshold: 0.5, height: '80svh',