PTMediaPlayerView Class Reference
Inherits from | UIView |
Declared in | PTMediaPlayerView.h |
Tasks
Properties
-
player
Returns the internal player instance of PMP framework
property -
videoGravity
Returns the video gravity property of the player.
property
Properties
player
Returns the internal player instance of PMP framework
@property (nonatomic, readonly, strong) AVPlayer *player
Discussion
Returns the internal player instance of PMP framework
IMPORTANT: Developers must use caution while calling any methods on this instance due to potential conflicts with the SDK. It is strongly recommended that the internal player instance be only used for reading specific AVPlayer properties and all methods that change the state of playback or configuration of the player be handled through the PTMediaPlayer instance.
Note: This property is only available after the PTMediaPlayer is initialized
Declared In
PTMediaPlayerView.h