andreipitis / ASPVideoPlayer

A simple video player that allow animations to be performed on the view during playback.
MIT License
89 stars 43 forks source link

How can i delegate didpressednextbutton? #51

Closed alperengezgin closed 4 years ago

alperengezgin commented 4 years ago

I want catch action of nextbuttonpressed. I tried but it's not working. i added optional func in delegate and called from control.didpressednextbutton {} function as strongSelf.delegate?.didpressednextbutton?().

alperengezgin commented 4 years ago

I solved problem. I run my code in newVideo optional func. i wrote my control.didpressednextbutton func.