api.webmaker.org icon indicating copy to clipboard operation
api.webmaker.org copied to clipboard

Media Uploads API

Open cadecairos opened this issue 9 years ago • 9 comments

Questions:

  • Images only?
  • Where will we store them?
  • What format?
  • size limits?
  • CDN?

cadecairos avatar Apr 20 '15 15:04 cadecairos

v1 is images only

  • Image - JPG, PNG, GIF, SVG should be sufficient. Animated GIFs will be inevitable. Limit size accordingly.
  • Audio - Unlikely before Q4. Could be very interesting to play with on our platform, adding loops to pages, effects to nav transitions.
  • Video - Unlikely before Q4. I wonder if we'd play with embeds before introducing video support.

xmatthewx avatar Apr 20 '15 15:04 xmatthewx

Stating the obvious: We will want to add some metrics to track abuse.

xmatthewx avatar Apr 20 '15 15:04 xmatthewx

This is top priority for the beta SOW and we need some sort of implementation ready for testing before the end of this sprint. @cadecairos how would you like us to kick this off? Happy to jump on a call any time this week.

thisandagain avatar May 11 '15 22:05 thisandagain

@thisandagain I'd like to develop a strategy for this ASAP so I get get started on an implementation. Got time today?

cadecairos avatar May 12 '15 13:05 cadecairos

This looks handy https://devcenter.heroku.com/articles/s3-upload-node

cadecairos avatar May 12 '15 14:05 cadecairos

Yeah, that looks better than the pile of node modules I concocted writing a PR for webmaker app. But if they're a helpful reference at all: https://github.com/jbuck/s3-post-policy

jbuck avatar May 12 '15 14:05 jbuck

To get around this we have been storing images in the element table itself. It is working well enough for now, but I'd like to sync up again on this once login is landed.

thisandagain avatar May 20 '15 02:05 thisandagain

With login being delayed until at least mid-next week, what are we doing here?

cadecairos avatar May 27 '15 20:05 cadecairos

@cadecairos Good question. Let's talk about this tomorrow at stand-up.

thisandagain avatar May 28 '15 00:05 thisandagain