added in some code for auto playing the videos as the table view is scrolled