Deprecated: Video Thumbnails library has been deprecated in favor of generateThumbnailsAsync from expo-video. expo-video-thumbnails is not receiving patches and will be removed in SDK 59.
expo-video-thumbnails allows you to generate an image to serve as a thumbnail from a video file.
In case sourceFilename is a remote URI, headers object is passed in a network request.
quality(optional)
number
A value in range 0.0 - 1.0 specifying quality level of the result image. 1 means no
compression (highest quality) and 0 the highest compression (lowest quality).
time(optional)
number
The time position where the image will be retrieved in ms.
VideoThumbnailsResult
Android
iOS
tvOS
Property
Type
Description
height
number
Height of the created image.
uri
string
URI to the created image (usable as the source for an Image/Video element).