Getting thumbnail from a video url or data in iPhone is a easy task before IOS 7 as MPMoviePlayer provides us with a method named thumbnailImageAtTimethat gave us thumbnail of the video. But thumbnailImageAtTime method was deprecated in IOS 7. So to get thumbnail from our video url or data, we have to follow a different approach.
In case if you have Video as NSData then you have to first save that video data to document directory and then use that document directory as path. Below is the code to save video data to document directory
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.