Best way to store video for a Flutter Application

1.5k views Asked by At

I'm working on a Flutter App and want to include some Tutorial Videos, which all Users have unlimited access to, so they can rewatch it any time. The Videos will be about 10-20 files with 1-5 minutes length.

I guess these amount of data will be too big to be stored as app assets, so I researched a bit and found Firebase Storage and AWS MediaStore.

Thoughts on this ? Or any recommendations - I don't want to run in the wrong direction.

2

There are 2 answers

0
aws-robclem On BEST ANSWER

I suggest hosting them on a private S3 bucket with a public CloudFront distribution in front of it for best performance. HLS file groups are fine.

0
Vandad Nahavandipoor On

This might be a bit of an obvious answer but my suggestion is that you place these videos on YouTube and mark them as Unlisted. This way you can build the URLs of these videos into your Flutter application and then load those videos with a web_view plugin that you can find on pub.dev.