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.
Use below ways provided by Apple. Basically using
AVFoundation
framework, Also it support picture in picture feature to support latest iOS 9 multi tasking feature.Apple Documentation