Skip to content

s5-dev/cached_s5_video

Repository files navigation

cached_s5_video

A simple cached video provider for S5 CID's

Demo GIF

Usage

⚠️ Due to the current state of the S5 dart library, the entire video is cached to memory. So DO NOT use large video files with the library until this is addressed.

See example.

This is a library built on s5. See there for more details.

Basic Usage:

Widget cachedS5Video = CachedS5Video(
  cid: cid, // String
  s5: s5, // See https://pub.dev/packages/s5
);

Acknowledgement

This work is supported by a Sia Foundation grant