/flutter_cached_video_player

Primary LanguageJavaBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Fork of Cached Video Player

In our case we've wanted to keep using Chewie, but wanted to add caching. We then override underlying dependency: video_player with forked cached_video_player renamed as video_player.

dependency_overrides:
    video_player:
    git:
        url: https://github.com/tomekit/flutter_cached_video_player.git
        ref: master

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.

Installation

First, add cached_video_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