I have a code which does:
self.video = [[MPMoviePlayerController alloc] initWithContentURL:[NSURL URLWithString:url]];
self.video.movieSourceType = MPMovieSourceTypeStreaming;
[[self.video view] setFrame:[[self view] bounds]];
[self.view addSubview:self.video.view];
[self.video play];
It basically loads a url and starts playing it. With the deprecation of MPMoviePlayerController what is the framework to be used to do the above functionality.