flutter_video_cache 0.1.8
SDKflutter
Platformandroidios
A Flutter plugin that enables video caching and offline playback alongside the video_player package. Supports downloads, playback from cache, and progress tracking.
Video Cache for Android
This is the Android implementation of the video_cache plugin which uses AndroidX Media3 (ExoPlayer) for video caching.
Features
- Efficient video caching using AndroidX Media3
- Background download capabilities
- Progress tracking with notifications
- Methods to check cache status and manage downloads
Requirements
- Android SDK 21+
- AndroidX Media3 (ExoPlayer) 1.2.1+
Issues
If you encounter the error:
A problem occurred configuring project ':video_cache'.
> Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl.
Make sure your gradle.properties includes:
android.useAndroidX=true
android.enableJetifier=true
And your Flutter project's Android build.gradle is compatible with Media3 requirements.