UZPlayerLayerView
open class UZPlayerLayerView: UIView
Undocumented
-
Undocumented
Declaration
Swift
open weak var delegate: UZPlayerLayerViewDelegate? = nil
-
Undocumented
Declaration
Swift
open var playerItem: AVPlayerItem?
-
Undocumented
Declaration
Swift
open lazy var player: AVPlayer? =
-
Undocumented
Declaration
Swift
open var videoGravity = AVLayerVideoGravity.resizeAspect
-
Undocumented
Declaration
Swift
open var isPlaying: Bool = false
-
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
override open func layoutSubviews()
-
Undocumented
Declaration
Swift
open func resetPlayer()
-
Undocumented
Declaration
Swift
open func prepareToDeinit()
-
Undocumented
Declaration
Swift
open func onTimeSliderBegan()
-
Undocumented
Declaration
Swift
open func seek(to seconds: TimeInterval, completion:(() -> Void)?)
-
Undocumented
Declaration
Swift
@objc open func moviePlayerDidEnd()
-
Undocumented
Declaration
Swift
override open func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey : Any]?, context: UnsafeMutableRawPointer?)