/presto

A tiny library for uploading MP3s to S3 and POSTing metadata.

Primary LanguageJavaScript

Presto

Presto is a simple Ember library for uploading tracks to S3. It is meant to work with a MusicRoom server.

import Presto from 'presto';

Presto.reopenClass({
  bucketUrl: '...',
  policyUrl: '...'
});

var upload = Presto.upload(data);

upload.get('isDone'); // false
upload.get('progress'); // 20
upload.get('progress'); // 75
upload.get('progress'); // 100
upload.get('isDone'); // true