-
Notifications
You must be signed in to change notification settings - Fork 73
Description
With the amount of work that has been done to push file storage off to a CDN asynchronously, it would now be possible for us to support direct video uploads where we could not previously.
Places affected by this that I can think of off the top of my head:
media.js (support file type and size limit, 10MB? Default video indicator)
media.py (handle storage, may not need anything doing)
petrescue.py (include preferred video in photo_urls)
service.py (animal_video call needs implementing to get the preferred)
dbfs.py (local cache time should be shorter for videos, eg: 2 days)
SM service handler wants to make sure the CDN is caching video downloads served via the animal_video service call with a decent ttl.
Unrelated directly to the task, but we could also look at reviewing our storage costs/rates/tiers and make it a bit cheaper.