title: How to post a video selected from the library on an apple device to a view controller in xcode using swift
body: <p>I would like to choose a video from the library(which I have completed) NOW, I want to take that video and display it in a view controller. What do I do? I have looked everywhere and have found nothing.</p>
  
  <pre><code>  Here is my code for trying to get the file name of a selected video from the library, which I am trying to display in a webview. It does not work.
  </code></pre>
  
  <p>videoURL = info[UIImagePickerControllerReferenceURL] as! NSURL?</p>
  
  <p>let fileURL = NSURL(fileURLWithPath: " (videoURL)")</p>
  
  <p>videoView.loadHTMLString( " ", baseURL : nil)</p>
  
  <p>Any help is much appreciated. Thanks!</p>