Video streaming starting from a certain point of the movie

Like google video. How does it do it? how does it stream from a second that the main stream has not reached yet? Get my question?