video_cached_player 2.4.9+1 copy "video_cached_player: ^2.4.9+1" to clipboard
video_cached_player: ^2.4.9+1 copied to clipboard

A new flutter plugin that is virtually a clone of official video_player plugin except that it supports caching( Android and iOS)

Cached Video Player #

A flutter plugin that has been forked from the official video_player package except that it supports caching in Android and iOS. Web plugin will work like official video_player i.e. without caching support.

Why fork #

  • The original creator stopped updating/merging PRs so i'm re-publishing it
  • I think exo player 2.12 was taken down today so my builds were failing. I believe android could no longer pull

implementation 'com.google.android.exoplayer:exoplayer-core:2.12.1'

so i updated it to implementation 'com.google.android.exoplayer:exoplayer-core:2.18.1'

  • got rid of deprecations
  • fixed errors
  • followed video_player package for guidance

Installation #

First, add video_cached_player as a dependency in your pubspec.yaml file.

Follow the Android and iOS configuration steps of the official video_player package. This plugin won't work in Desktop.

Issues #

  • maxFileSize and maxCacheSize are hardcoded at 100MiB and 1GiB respectively in Android.

Contributors #

2
likes
140
pub points
85%
popularity

Publisher

unverified uploader

A new flutter plugin that is virtually a clone of official video_player plugin except that it supports caching( Android and iOS)

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, html, meta, plugin_platform_interface, video_player, video_player_android, video_player_avfoundation, video_player_platform_interface, video_player_web

More

Packages that depend on video_cached_player