First question is, given a url to an mp4 video, how can I save that file to disk? The followup to that is while its saving, can I begin playback after its buffered some of the video to disk or do I have to wait for the entire file to be written and then:
MPMoviePlayerController* theMovie=[[MPMoviePlayerController alloc] initWithContentURL:theURL];
using the path to the local file.
Thanks,
Sam
The
MPMoviePlayerControllerwill start downloading the movie to it’s own cache and will start playing the video as soon as enough data has been downloaded.AFAIK there is no way to control the download and to for example save it to a known file that you specify.