I am populating a tableview with data from web and I have 3 kind of cells one with image, a label and buttons, one with webview, label and buttons, and the last one with avplayer, label and buttons.
I implemented infinite scroll on that tableview. So I have many cells. What I am trying to do is play videos in my video cells with loop and play those videos like Vine app.
I mean I want videos to play when that video cell is top visible cell. Otherwise it will be stopped. How can I achieve that goal? Could you please point me out to right way?