Requests a representation of the video asset for playback, to be loaded asynchronously.
- iOS 8+
- macOS 10.15+Beta
- UIKit for Mac 13.0+Beta
- tvOS 10+
The video asset to be played back.
Options specifying how Photos should handle the request and notify your app of progress or errors. For details, see
A block Photos calls after loading the asset’s data and preparing the player item.
The block takes the following parameters:
A numeric identifier for the request. If you need to cancel the request before it completes, pass this identifier to the
When you call this method, Photos downloads the video data (if necessary) and creates a player item. It then calls your
result block to provide the requested video.
Use this method when you want to simply play back the video asset as it currently exists. For more detailed options or to work with the asset’s audio and video tracks, use the
request method instead.