I have an iphone app which requires the videos to be played from the URL.

I dont want to download the whole videos just as it eventually slows down my app.

I want to play the videos in a way that it buffers in between and then plays.

How to play videos from a URL into an iphone app with buffering?