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
|
||||
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
|
||||
}}
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@
|
|||
height="200svh"
|
||||
trackScroll={false}
|
||||
showDebugInfo
|
||||
embedded
|
||||
embedded={true}
|
||||
embeddedProps={{
|
||||
threshold: 0.5,
|
||||
height: '80svh',
|
||||
|
|
|
|||
Loading…
Reference in a new issue