Initializes a player item with a given URL.
- iOS 4.0+
- macOS 10.7+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 6.0+Beta
A URL identifying the media resource to be played.
A new player item, prepared to use
This method immediately returns the item, but with the status
Associating the player item with an
AVPlayer immediately begins enqueuing its media and preparing it for playback. If the URL contains valid data that can be used by the player item, its status later changes to
AVPlayer. If the URL contains no valid data or otherwise can't be used by the player item, its status later changes to
AVPlayer. You can determine the nature of the failure by querying the player item’s