davidlondono / PlayerView

Player View is a delegated view using AVPlayer of Swift
MIT License
133 stars 46 forks source link

Not receiving callback from: func playerVideo(player: PlayerView, currentTime: Double) #7

Open kekearif opened 8 years ago

kekearif commented 8 years ago

Hey, loving the video player view so far however I seem to have an issue getting callback from func playerVideo(player: PlayerView, currentTime: Double). I have the delegate set and func playerVideo(player: PlayerView, duration: Double) works fine for getting the duration. Tried setting a different interval too using videoPlayerView.interval = CMTimeMake(1, 1). Any ideas what I might be doing wrong here?

kekearif commented 8 years ago

Thought it was fixed. However it's not working. Sometimes it gets callback and sometimes it doesn't seems random.

kekearif commented 8 years ago

seems to be just on the simulator actually...

davidlondono commented 8 years ago

I haven't changed the interval on the simulator. But still I don't like that it doesn't work there, I'm gonna check what I could do.