Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the count of video to store it offline and serve it whenever opened. #3

Open
Parth-Vader opened this issue Nov 25, 2017 · 5 comments

Comments

@Parth-Vader
Copy link
Owner

This would save your bandwidth.

Suppose I watch a video 10 times in 3 days - this would be detected by a script, and the video would be downloaded and served whenever this url would be opened the next time.

@aniketgattani
Copy link
Contributor

@Parth-Vader we can use here a service worker and cache these videos whenever necessary. I would like to contribute to this issue. Do u want it any other way ?

@Parth-Vader
Copy link
Owner Author

Not sure - this is more of a moonshot idea for me. So you can start with service worker if you want to.

@aniketgattani
Copy link
Contributor

But this would take up a lot of cache memory and please tell me when do i need to store them and should there be some restriction ?

@Parth-Vader
Copy link
Owner Author

@aniketgattani, For now, you can just use temporary data with a youtube link - maybe in a .csv file for now, but in another issue #2 - firebase has been decided to be used.
Try to download and serve one video as for now - if that's successful we can continue further. Does this sound reasonable?

@aniketgattani
Copy link
Contributor

yeah okay so for now I will add the youtube link to the cache and then try to download it and will push a PR for the same. Plz tell me when do u want to save the video means after what checks. Also tell me if I got something wrong

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants