IVSPlayerLayer
Objective-C
@interface IVSPlayerLayer : CALayerSwift
class IVSPlayerLayer : CALayerDisplays the visual content from IVSPlayer.
- 
                  
                  A string constant describing how video is displayed within the layer bounds. See the definitions of AVLayerVideoGravityinfor detailed descriptions of the available options. This property is key-value observable. DeclarationObjective-C @property (nonatomic, copy) AVLayerVideoGravity _Nonnull videoGravity;Swift var videoGravity: AVLayerVideoGravity { get set }
- 
                  
                  The current size and position of the video image as displayed within this layer’s bounds. A value of CGRectZeroindicates that no video is displayed.This property is key-value observable. DeclarationObjective-C @property (nonatomic, readonly) CGRect videoRect;Swift var videoRect: CGRect { get }
 IVSPlayerLayer Class Reference
        IVSPlayerLayer Class Reference