title: convert this code to swift
body: <p>I am try to display the loaded video in screen. i have't use swift before.I ma new to swift.Here some code in objective c</p>
  
  <pre><code> - (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info {
  
      self.videoURL = info[UIImagePickerControllerMediaURL];
      [picker dismissViewControllerAnimated:YES completion:NULL];
  
      self.videoController = [[MPMoviePlayerController alloc] init];
  
      [self.videoController setContentURL:self.videoURL];
      [self.videoController.view setFrame:CGRectMake (0, 0, self.view.frame.size.width, 460)];
     [self.view addSubview:self.videoController.view];
  
  
      [self.videoController play];
  
     }
  </code></pre>
  
  <p>How to convert in swift. i used <code>videoURL,Videocontroller</code> like this in swift</p>
  
  <pre><code>var videoPlayer = MPMoviePlayerController()
  </code></pre>
  
  <p>And for <code>videoURL</code> i used <code>let videoURL = info[UIImagePickerControllerMediaURL]
  </code></p>
  
  <p>But while use i dont know how to convert all code, please help to convrt my objective c code to swift2.0 .Thanks</p>
  
  <p>i did so for :</p>
  
  <pre><code>func imagePickerController(picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [String : AnyObject]){
  
          let videoURL = info[UIImagePickerControllerMediaURL]
  
  
  
      }
  </code></pre>
  
  <p>Remaining code i dont now how to alloc for Mpmovieplayercontroller and so on code</p>