I am using Player library, that is using AVPlayer & AVFoundation, which is quiet convenient for my case. I successfully managed to play the video and add a slider. I set the
I solved my problem. I created an instance of Player so I was able to send the data from the view controller back to Player class. Then I simply applied seekToTime()
. At this point, visually, it was seeming poor but then I noticed that I can use stop()
, setCurrentTime()
and then play()
in order to make it look nicer.