mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 17:33:14 +01:00
s3 urls anonymous and refactored
zencoder with multiple thumbnail sizes
This commit is contained in:
parent
d0e5fe50cb
commit
11fb512763
@ -153,7 +153,7 @@ let MediaPlayer = React.createClass({
|
||||
if (this.props.mimetype === 'video' && this.props.encodingStatus !== undefined && this.props.encodingStatus !== 100) {
|
||||
return (
|
||||
<div className="ascribe-detail-header ascribe-media-player">
|
||||
<p><em>Please be patient, the video is been encoded</em></p>
|
||||
<p><em>Please be patient, the video is being encoded</em></p>
|
||||
<ProgressBar now={this.props.encodingStatus}
|
||||
label='%(percent)s%' />
|
||||
</div>
|
||||
|
@ -209,6 +209,7 @@ var ReactS3FineUploader = React.createClass({
|
||||
requestKey(fileId) {
|
||||
let defer = new fineUploader.Promise();
|
||||
let filename = this.state.uploader.getName(fileId);
|
||||
let uuid = this.state.uploader.getUuid(fileId);
|
||||
|
||||
window.fetch(this.props.keyRoutine.url, {
|
||||
method: 'post',
|
||||
@ -220,7 +221,8 @@ var ReactS3FineUploader = React.createClass({
|
||||
credentials: 'include',
|
||||
body: JSON.stringify({
|
||||
'filename': filename,
|
||||
'file_class': this.props.keyRoutine.fileClass,
|
||||
'category': this.props.keyRoutine.fileClass,
|
||||
'uuid': uuid,
|
||||
'piece_id': this.props.keyRoutine.pieceId
|
||||
})
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user