-
playerReadyForDisplay(_:Default implementation) Tells the delegate that the media player layer is ready to display.
Default Implementation
Declaration
Swift
func playerReadyForDisplay(_ player: MediaPlayer)Parameters
playerThe player object
-
player(_:Default implementationdidChangePresentationSize: ) Tells the delegate that the presentation size of the current asset has changed.
Default Implementation
Declaration
Swift
func player(_ player: MediaPlayer, didChangePresentationSize size: CGSize)Parameters
playerThe player object
sizeThe video asset’s size
View on GitHub
VideoPlayerDelegate Protocol Reference