small tweaks
This commit is contained in:
parent
c761f7713c
commit
994d7fc850
2 changed files with 3 additions and 3 deletions
|
|
@ -84,8 +84,8 @@ Setting `embedded` will autoplay the whole `ScrollerVideo` component like a vide
|
||||||
embedded
|
embedded
|
||||||
embeddedProps={{
|
embeddedProps={{
|
||||||
delay: 200,
|
delay: 200,
|
||||||
threshold: 0.5, // threshold forplayback
|
threshold: 0.5, // threshold for triggering the autoplay
|
||||||
height: '80svh', // height of the video
|
height: '80svh', // height of the scroll container
|
||||||
duration: 5000, // time duration from start to end
|
duration: 5000, // time duration from start to end
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,7 @@
|
||||||
height="200svh"
|
height="200svh"
|
||||||
trackScroll={false}
|
trackScroll={false}
|
||||||
showDebugInfo
|
showDebugInfo
|
||||||
embedded
|
embedded={true}
|
||||||
embeddedProps={{
|
embeddedProps={{
|
||||||
threshold: 0.5,
|
threshold: 0.5,
|
||||||
height: '80svh',
|
height: '80svh',
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue