but in my case i want to play video file without importing or saving in my app
To achieve this, you have to know the ALAsset url of the desired video. Use ALAssetLibrary
to load the video using ALAsset url.
You can display all the Photolibrary videos using UIimagePickercontroller
and you can get the url of the video's when user choosing one from this. Save those url to your application storage and play it again while you need (using ALAsset
and saved ALAsset url).