jhomlala / betterplayer

Better video player for Flutter, with multiple configuration options. Solving typical use cases!
Apache License 2.0
918 stars 973 forks source link

Precache without creating betterPlayercontroller #938

Open dhiaEddineB opened 2 years ago

dhiaEddineB commented 2 years ago

Hello betterPlayer Team,

It will be nice to add preCaching function without having to create betterPlayerController for every cached video as in some cases we need to precache few seconds from a lot of videos ( that can be streamed later) otherwise we can run into an exoplayer error .

Thanks a lot, lookin forward to hearing from you .

Abacaxi-Nelson commented 2 years ago

Yeah would be amazing. Right now, i keep in memory 5 players but it dont work well.. Precache beginning of the video could improve user experience a lot …

lonely2099 commented 2 years ago

Yes, this is a great PR!

lonely2099 commented 2 years ago

@jhomlala

jtkeyva commented 2 years ago

still don't quite understand how precache works. this seem useful for a PageView / List of videos