Support Video Uploads
lou-k opened this issue · 1 comments
lou-k commented
The current helper functions are for images only.
This should be a relatively simple change:
- Update
create_new_revision_from_file
to accept asubtype
parameter - Change
upload_image_file
to use thecontent_type
to guess thesubtype
parameter - Change the function names
upload_image_file
andupload_image_file_if_not_exists
toupload_media
...
Note that there is a 200MB upload limit that we should address in a future issue.
lou-k commented
fixed!