NativeVideoPlaybackControls
@objc(YMANativeVideoPlaybackControls)
public class NativeVideoPlaybackControls : NSObject
Class with playback controls.
-
Initializes an object of the
NativeVideoPlaybackControlsclass with progress control and mute control.Declaration
Swift
@objc(initWithProgressControl:muteControl:) public convenience init( progressControl: (UIView & NativeVideoPlaybackProgressControl)?, muteControl: (UIView & NativeVideoPlaybackMuteControl)? )Parameters
progressControlAn object of the
UIViewclass and conform to protocolNativeVideoPlaybackProgressControl.muteControlAn object of the
UIViewclass and conform to protocolNativeVideoPlaybackMuteControl.Return Value
An object of the
NativeVideoPlaybackControlsclass with progress control and mute control. -
Undocumented
Declaration
Swift
@objc public func setupVideoPlaybackControls(to view: YMANativeMediaView)