So if you didn't care about having to wait for the video to buffer on every scroll, it becomes an easier problem. I kind of think that defeats the purpose of a tiktok-style interface though.
I agree that you wouldn't necessarily need to build a new algorithm, but like I said, it's part of the smooth scrolling magic