title: how to play video from htp url in iphone app
body: <p>I want to play the video from url in iphone app but it does not play in the app i am using following code</p>
  
  <pre><code>-(IBAction)play
  {
       NSString*videoFilepath=@"http://myserver.com.pk/Specticle_Revision_v1.mov";
       NSLog(@"Filepath is: %@", videoFilepath);
       NSURL *videoURL = [NSURL fileURLWithPath:videoFilepath];   
       MPMoviePlayerController *movie = [[MPMoviePlayerController alloc] initWithContentURL:videoURL];
       [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(playbackFinishedCallback:) name:MPMoviePlayerPlaybackDidFinishNotification object:movie];
       [movie play];
  }
  </code></pre>