title: How to open data instead standart url in AVPlayer
body: <p>How i can open data video file instead standart url in AVPlayer? </p>
  
  <pre><code>let videoURL = URL(string: "https://example")
  </code></pre>
  
  <p>but instead URL i have only     </p>
  
  <pre><code>var dataTs : Data = Data()
  </code></pre>
  
  <p>and i must put it in AVPlayerController</p>
  
  <pre><code>let player = AVPlayer(url: videoURL!)
  playerViewController.player = player
  </code></pre>