Stream FLV from point

Hello all,

I’m creating my own video player and I got stuck at the buffer/stream functions.

If you watch a video on YouTube but you only want to watch the last minute, you can click at the time bar where you want to video to continue. If the video is not already loaded it start streaming from THAT point right away.

How did they do that?

Thanks,
Harm