title: Connecting to vimeo video through firebase database issue
body: <p>I am building an app with several video files. I originally stored them in firebase storage and accessed them through putting their links in firebase data base. 
  On further inspection i think that storing them in fire base my be a bit expensive. so i looked around for alternative options and figured vimeo might be cheaper to store the videos. </p>
  
  <p>my problem is that when I plug in the url into my firebase database the Vimeo video cannot be viewed. But any url to a firebase video stored in firebase storage will work. Im using avkit to view the videos. </p>
  
  <p>I cannot understand way the url wont work for the vimeo video but will for the firebase stored videos. </p>
  
  <p>my data base looks like this: 
  <a href="https://i.stack.imgur.com/JxAJ3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JxAJ3.png" alt="enter image description here"></a></p>
  
  <p>It has video 1 trying to call a vimeo video (which doesnt work) and video 2 linked to a firebase video which does work.</p>
  
  <p>my code is: </p>
  
  <pre><code>import UIKit
  import AVKit
  import AVFoundation
  import Firebase
  import FirebaseDatabase
  
   class ViewController: UIViewController, UITableViewDelegate, UITableViewDataSource {
  
  
  
  var table = [Videos]()
  var ref: DatabaseReference!
  
  @IBOutlet weak var Tableview: UITableView!
  
  
  
  override func viewDidLoad() {
      super.viewDidLoad()
  
      ref = Database.database().reference().child("videos")
      ref.observe(DataEventType.value, with: {(snapshot) in
          if snapshot.childrenCount &gt; 0 {
              self.table.removeAll()
  
              for video in snapshot.children.allObjects as! [DataSnapshot] {
  
                  let Object = video.value as? [String: AnyObject]
                  let Title =  Object?["Title"]
                  let videolink = Object?["link"]
  
                  //let video = Videos(Title: Title as? String, link: video as? String)
                  let video = Videos(Title: Title as? String, link: videolink as? String)
                  self.table.append(video)
  
                  self.Tableview.reloadData()
              }
          }
      })
  }
  
  
  func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int {
      return table.count
  }
  
  func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -&gt; UITableViewCell {
      let cell = Tableview.dequeueReusableCell(withIdentifier: "cell") as! TableViewCell
      let video: Videos
  
      video = table[indexPath.row]
      cell.titleLabel.text = video.Title
  
      return cell
  
  }
  
  func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
      guard let videoURL = URL(string: table[indexPath.row].link!) else {
          return
      }
  
      let player = AVPlayer(url: videoURL)
  
      let controller = AVPlayerViewController()
      controller.player = player
  
      present(controller, animated: true) {
          player.play()
      }
  
  }
  </code></pre>