Closed choiks14 closed 6 years ago
Hi @choiks14,
Your question is a bit vague, but I'm assuming you wish to stop the video playback programatically.
If you are using ASPVideoPlayerView
, you can stop the video playback using the stopVideo()
method:
let videoPlayer = ASPVideoPlayerView()
...
videoPlayer.stopVideo()
If you are using ASPVideoPlayer
, you can use the stop()
method of the videoPlayerControls
property:
let videoPlayer = ASPVideoPlayer()
...
videoPlayer.videoPlayerControls.stop()
how can i stop video?
plz help me.