DEV Community

Discussion on: How to cache videos in a react-native project using Android's ExoPlayer cache

 
georgemburu profile image
Georgemburu

Thank you Sir, For your help. It worked

Thread Thread
 
georgemburu profile image
Georgemburu

The library has helped my videos avoid so much buffering.
It loads the video fast ahead of time.

I am facing one issue though. When I seek the video back to 0.00 time after watching the video once.
Another api call is made to the server to request the video.
I was expecting the cached video to be served instead and no api call to be made.
Does the library support this functionality?

Thread Thread
 
paddy57 profile image
Pradnyanand Milind Pohare

Thank you. You can leave a star to GitHub repo ;) . I'm not sure, I will test your query and will work on fork to introduce the functionality if it's not present already.

Thread Thread
 
georgemburu profile image
Georgemburu

OK.