Whats required to make an Ionic Video player where videos can be downloaded from my server to the phone and played off of it?

I’m looking to create an Ionic Video player app that can play downloaded or even streamed videos. I have a bunch of downloaded youtube cartoons for my kids http://movieseriesworld.com/ http://www.movieseriesworld.com/forums/index.php to watch and want to be able to view these offline in my own app where can I can also restrict it. Restricting it as in making them do a math question every 10 minutes before they can continue watching the video… Would Ionic be able to do something like this?

Use file transfer plugin to download the file from server to local device and then play the file from local device path instead of server path.