|
|
|
@ -65,9 +65,10 @@ function doCreateUploader (options) {
|
|
|
|
|
if (!uploadInfo.videoId) {
|
|
|
|
|
|
|
|
|
|
var createUrl = `${_testHost}/users/${login}/video_auths.json`
|
|
|
|
|
const _random = '' // Math.random().toString().substring(3, 6)+'-'
|
|
|
|
|
axios.post(createUrl, {
|
|
|
|
|
title: fileName,
|
|
|
|
|
file_name: fileName
|
|
|
|
|
title: _random+fileName,
|
|
|
|
|
file_name: _random+fileName
|
|
|
|
|
}).then((response) => {
|
|
|
|
|
// if (response.data.status == )
|
|
|
|
|
const data = response.data.data
|
|
|
|
|