dkaoster / scrolly-video

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

Crashing on starting server #115

Open akshat24sharma opened 1 month ago

akshat24sharma commented 1 month ago

Hello, I am trying this package on React and I'm facing an issue that my whole system crashes after I start the npm server with this package used. But this is not happening on build served on chrome, is this because of the import being taken from the folder directly?

dkaoster commented 1 month ago

@akshat24sharma do you have any more details? like logs, stack traces, or anything of that sort?

akshat24sharma commented 1 month ago

Hey @dkaoster so i was checking the code and saw that i have strict mode on, when i switch it off, crashing stopped, i think since in strict mode component mounts twice so maybe that was the culprit, but still the video which is working fine on PC is not working on my phone because my chrome keeps crashing, my video is a bit bigger in length around 50 seconds, is that the expected behaviour?

dkaoster commented 1 month ago

@akshat24sharma it is not the expected behavior, but without further logs or details I can't help you debug.