Access video using localIdentifier, swift
<p>I want to open a video, for which I have the localIdentifier. I know I can create an AVPlayer like this,</p>

<pre><code>let player = AVPlayer(URL: NSURL(fileURLWithPath: path))
</code></pre>

<p>Is it possible to open a video by providing its localIdentifier?</p>

<p>I am using the video as a PHAsset to obtain its localIdentifier. It is possible to use PHFetchOptions and fetchAssetCollectionsWithLocalIdentifiers, however, it would be like a query. Is there a more direct way to access a video or an image if I have its localIdentifier? </p>