Open bayerlse opened 3 months ago
I think creating a new instancing of src/ScrollyVideo.js
within the first useEffect
of src/ScrollyVideo.jsx
causes this behaviour. There could be an internal cache for the loaded video beside the ScrollyVideo
Class or a method for just updating values passed within the ScrollyVideo
Class.
hi @bayerlse, sorry for the late response. Do you have a reproduction example?
Hey there, awesome lib!
I cant make it to pause and continue video within react. I tried different scenarios, eg. lock the
videoPercentage
prop and disabletrackScroll
. But when doing so the video gets unloaded and reloaded, which is bad ux.Any suggestions, help?
Thanks, Sebi