-(IBAction)play:(id)sender
{
thumbImageView.alpha=0.0;
NSString *stringvideo=[NSString stringWithFormat:@\"http://streaming-service\",[[NSUserDefaults standard
First you have to inform to player the source type ofter you set that content of video file; like this
Here is two types of urls; if the url is like this you write this function
NSString *aStr=@"http://www.my url like this.com/video/videos/review/Michale JACKSON AUDIENCE Comment.mp4";
aStr = [aStr stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
or (second one)
NSString *aStr=@"http://www.normal url.com/video.mp4"
// after add your url string to this url
NSURL *url=[NSURL URLWithString:aStr];
MPMoviePlayerViewController *MPlayer = [[MPMoviePlayerViewController alloc]init];
MPlayer.moviePlayer.movieSourceType = MPMovieSourceTypeStreaming;
[MPlayer.moviePlayer setContentURL:url];
[self presentMoviePlayerViewControllerAnimated:MPlayer];