Video Frames

To add video frame support, import the extension library:


And add the two fetchers to your component registry when constructing your ImageLoader:

val imageLoader = ImageLoader.Builder(context)
    .componentRegistry {


Video frame decoding is only supported for Files and Uris (content and file schemes only).

To specify the time code of the frame to extract from a video, use videoFrameMillis or videoFrameMicros:

imageView.load(File("/path/to/video.mp4")) {

If a frame time isn't specified, the first frame of the video is decoded.

The ImageLoader will automatically detect any videos and extract their frames if the request's filename/URI ends with a valid video extension. If it does not, you can set the Fetcher explicitly for the request.