I can’t figure out how to achieve something like on youtube. A video is being loaded, you click somewhere in the currently unloaded area, and the movie starts buffering from the clicked point instead of loading the full movie.

Searched around and found this:


But it sounds complicated and not sure if this has become outdated. Anyone who can shed some light on this, how this works and in what direction to search for the solution?