title: How to Play Videos PHAsset in iOS?
body: <p>I want to play video from <code>PHAsset</code>, collected from iOS Photos. <code>PHAsset</code> video <code>nsurl</code> (<a href="https://stackoverflow.com/a/35099857/1084174">https://stackoverflow.com/a/35099857/1084174</a>) is valid to my own application lets say <code>MyPlayer</code> for few moments/blocks. When I am copying the image/video into <code>MyPlayers</code> own sandbox only then the <code>nsurl</code> becomes always valid. It seems to me,</p>
  
  <blockquote>
    <p>I need to copy each video from temporary <code>PHAsset</code> nsurl to MyPlayers
    sandbox (appgroup/documents) and only then I can play the video with
    sandbox relative nsurl.</p>
  </blockquote>
  
  <p>If this is the case how do all other player play long videos on the fly? If there is any other way to play video without copying to apps sandbox, please let me know the way.</p>