Is there any way to replace AVPlayer thumbnail image? I need to add a custom image as thumbnail layer
Asked
Active
Viewed 3,672 times
3
-
I think you want to set Thumbnail for video right? – Rahul K Rajan Nov 21 '17 at 11:16
-
If yes pls refer this link https://stackoverflow.com/questions/15360721/create-a-thumbnail-or-image-of-an-avplayer-at-current-time – Rahul K Rajan Nov 21 '17 at 11:17
1 Answers
6
I got a simple solution for this. we can add any UIImage to the contentOverlayView, it will not hide the Play/Pause controls and we can hide this imageView later.
[self.moviePlayerController.contentOverlayView addSubview:placeHolderImageView];

Vinu David Jose
- 2,569
- 1
- 21
- 38