Caching/Downloading videos

Is there a way(or a library) to cache/download videos before playing them? I searched a lot on web but couldn’t find any answer. For image caching, i use ;
https://github.com/andrewmcgivery/ionic-ion-imageCacheFactory

Any Help?

Thank you in advance

Hi @serhan,
HTML5 has a video tag where there is a preload variable.

Here are 2 links to check out:

  1. https://github.com/videojs/video.js
  2. https://stackoverflow.com/questions/27643115/preload-attribute-on-html5-video-on-angularjs-directive-not-working