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',