UZPlayerLayerView
open class UZPlayerLayerView : UIView
Undocumented
-
Undocumented
Declaration
Swift
open var playerItem: AVPlayerItem? { get set }
-
Undocumented
Declaration
Swift
public internal(set) var currentVideo: UZVideoItem?
-
Undocumented
Declaration
Swift
public var preferredForwardBufferDuration: TimeInterval { get set }
-
Undocumented
Declaration
Swift
open lazy var player: AVPlayer? { get set }
-
Undocumented
Declaration
Swift
open var videoGravity: AVLayerVideoGravity { get set }
-
Undocumented
Declaration
Swift
open var isPlaying: Bool { get set }
-
Undocumented
Declaration
Swift
public var aspectRatio: UZPlayerAspectRatio { get set }
-
Undocumented
Declaration
Swift
public internal(set) var playerLayer: AVPlayerLayer?
-
Undocumented
Declaration
Swift
open func playURL(url: URL)
-
Undocumented
Declaration
Swift
open func playAsset(asset: AVURLAsset, subtitleURL: URL? = nil)
-
Undocumented
Declaration
Swift
open func replaceAsset(asset: AVURLAsset, subtitleURL: URL? = nil)
-
Undocumented
Declaration
Swift
open func play()
-
Undocumented
Declaration
Swift
open func pause(alsoPauseCasting: Bool = true)
-
Undocumented
Declaration
Swift
open func retryPlaying(after interval: TimeInterval = 0)
-
Undocumented
Declaration
Swift
override open func layoutSubviews()
-
Undocumented
Declaration
Swift
open func seek(to seconds: TimeInterval, completion: (() -> Void)?)
-
Undocumented
Declaration
Swift
@objc open func moviePlayerDidEnd()
-
Undocumented
Declaration
Swift
@objc open func moviePlayerDidFailToPlayToEndTime(_ notification: Notification)
-
Undocumented
Declaration
Swift
@objc open func moviePlayerDidStall()
-
Undocumented
Declaration
Swift
override open func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey : Any]?, context: UnsafeMutableRawPointer?)
-
Undocumented
Declaration
Swift
open func resetPlayer()
-
Undocumented
Declaration
Swift
open func prepareToDeinit()
-
Undocumented
Declaration
Swift
open func onTimeSliderBegan()