Creates a player layer to display the visual output of a specified player.
- iOS 4.0+
- macOS 10.7+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
The player for which the player layer displays visual output.
AVPlayer object configured to display the visual output of
You can create arbitrary numbers of player layers with the same
AVPlayer object, but you should limit the number of layers you create to avoid impacting playback performance.