flutter_cached_video_android 1.0.3 copy "flutter_cached_video_android: ^1.0.3" to clipboard
flutter_cached_video_android: ^1.0.3 copied to clipboard

PlatformAndroid

flutter_cached_video_android is the Android implementation of the flutter_cached_video plugin, supporting video caching up to 512 MB. When the cache limit is exceeded, the oldest videos are removed. B [...]

flutter_cached_video_android #

The Android implementation of flutter_cached_video, a modified version of the Flutter video player with built-in video caching functionality.

📱 Usage #

This package is automatically included when you use the flutter_cached_video package. You do not need to add this package manually to your pubspec.yaml.

To enable video caching in your Flutter app, simply use the flutter_cached_video package. It internally utilizes flutter_cached_video_android to provide seamless video caching support.

🎥 Video Caching #

The flutter_cached_video_android package provides the following caching features:

  • Cache Size: Up to 512 MB of video data can be cached.
  • Automatic Cache Management: When the cache reaches its maximum size, the oldest cached video is automatically removed to free up space for new videos.
  • Seamless Playback: Cached videos are played seamlessly, reducing buffering and improving the user experience.

🚀 Getting Started #

To use video caching in your Flutter app, add the package to your pubspec.yaml:

dependencies:
  flutter_cached_video: ^1.0.0

Then, use the CachedVideoPlayerController to play videos with caching support:

import 'package:flutter_cached_video/flutter_cached_video.dart';

final videoPlayerController = VideoPlayerController.networkUrl(Uri.parse("http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4"));
await videoPlayerController.initialize();
videoPlayerController.play();

📄 License

This package is licensed under the MIT License. See the LICENSE file for details. 🙏 Attribution

This package is based on the video_player package, which is licensed under the BSD 3-Clause License. The original copyright belongs to the Flutter Authors.

0
likes
150
points
96
downloads

Publisher

verified publisherraghavg1999.com

Weekly Downloads

flutter_cached_video_android is the Android implementation of the flutter_cached_video plugin, supporting video caching up to 512 MB. When the cache limit is exceeded, the oldest videos are removed. Built on ExoPlayer, it ensures smooth playback, reduces buffering, and improves offline video performance.

Repository (GitHub)

Topics

#video #video-player

Documentation

API reference

License

MIT (license)

Dependencies

flutter, video_player_platform_interface

More

Packages that depend on flutter_cached_video_android