I'm working on a project, there's a online website which offers different artform courses where user can register, subscribe to the course and download it's videos to their own account and not local storage? How can I achieve this functionality. Please guide me or any suggestions/references will be really helpful.
The video will be playable for the users but I want to give provision to the users to download that videos into their account and access those without internet connection. Basically, I want to achieve similar functionality like Netlfix offline viewing or you can say Youtube offline downloads.
What I have tried:
I've researched about it but I'm unable to find any exact references for the same. I cam across Service Workers but I'm not sure whether it will do the work. Also, how can I implement it in CodeIgniter.