0

I have to show the thumbnails from the video on the table cells.

The video is coming from the URL, and I need to lazy load the images captured from the iPhone.

Littm
  • 4,923
  • 4
  • 30
  • 38

1 Answers1

0

Take a look at this SO answer, or use thumbnailImageAtTime:timeOption method of MPMoviePlayerController.
For the lazy loading on the cells, you could load the thumbnail in the willDisplayCell callback of UITableViewDelegate so you'll load/display the thumbnail once the cell is created (you can see a similar behavior in the AppStore App). Remember also that you have to download your videos in asynchronous way in order to not block the main thread.

Community
  • 1
  • 1
Mat
  • 7,613
  • 4
  • 40
  • 56