This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.
This is documentation for the next SDK version. For up-to-date documentation, see the latest version (SDK 57).
Expo VideoThumbnails
A library that allows you to generate an image to serve as a thumbnail from a video file.
Deprecated: Video Thumbnails library has been deprecated in favor of
generateThumbnailsAsyncfromexpo-video.expo-video-thumbnailsis not receiving patches and will be removed in SDK 56.
expo-video-thumbnails allows you to generate an image to serve as a thumbnail from a video file.
Installation
If you are installing this in an existing React Native app, make sure to install expo in your project.
Usage
API
import * as VideoThumbnails from 'expo-video-thumbnails';
Methods
Create an image thumbnail from video provided via sourceFilename.
Promise<VideoThumbnailsResult>Returns a promise which fulfils with VideoThumbnailsResult.