dkaoster / scrolly-video

Components for scroll-based (or other externally controlled) playback.
https://scrollyvideo.js.org/
MIT License
971 stars 39 forks source link

Know if is ready ? #46

Open MathieuAz opened 1 year ago

MathieuAz commented 1 year ago

Hello, how can we know if video frames are generated and we can start to scroll plz ? With react version

dkaoster commented 1 year ago

Unfortunately there is currently no way of detecting this state from the react component, as it handles all of this inside of the js library. However, it wouldn't be that difficult to pass the state through to the components, and if that's something you'd like then I can find some time to make this change.

MathieuAz commented 1 year ago

I’d really appreciate that!

alexmsantos commented 7 months ago

Hi, @dkaoster. And how can we know if video frames were generated in vanilla js and the video is ready?

tarsisexistence commented 6 months ago

@MathieuAz @dkaoster probably we can close this issue now