I am new to this iPhone development. I would like to play the video from url which can be youtube videos or from any url. How can i do this ? Can any one suggest me a good method. I have tried 

```
   NSURL *fileURL = [NSURL URLWithString:url];
    moviePlayerController = [[MPMoviePlayerController alloc] initWithContentURL:fileURL]; 
   [moviePlayerController.view setFrame:CGRectMake(0, 70, 320, 270)]; 
   [self.view addSubview:moviePlayerController.view];  
   moviePlayerController.fullscreen = YES;  
   [moviePlayerController play]; 

```

But its not working.