|
|
@@ -1576,7 +1576,7 @@ export default () => {
|
|
|
if (localData) {
|
|
|
const uploadTask = (async () => {
|
|
|
try {
|
|
|
- const file = await convertVideoToMP4(localData, `video_${Date.now()}.mp4`)
|
|
|
+ const file = await dataToFile(localData, `video_${Date.now()}.mp4`, 'video/mp4')
|
|
|
if (file) {
|
|
|
const url = await uploadFileToS3(file)
|
|
|
element.src = url
|