Hi Everyone, can you please help me to fix the err...
# compose
Hi Everyone, can you please help me to fix the error, why coil not able to load it. its mimeType is video/mp4
Copy code
val mediaPath = "<content://media/external/file/252819>"

            model = mediaPath,
            contentDescription = stringResource(id = R.string.thumbnail),
            placeholder = painterResource(id = R.drawable.ic_default_thumbnail),
            error = painterResource(id = R.drawable.ic_default_thumbnail),
            modifier = Modifier
            contentScale = ContentScale.Crop
Coil has no support for video files https://github.com/coil-kt/coil/issues/605
@Mitchell Syer can you please mention any working example or snippet code?
I`m little bitt hurry forenow that`s why i put the question here.
If you are trying to play media from the device, look at MediaPlayer https://developer.android.com/guide/topics/media/mediaplayer#viacontentresolver
I just need to show the thumbnails like in gallery app just need to show data