Update share_btn.py
Browse files- share_btn.py +3 -1
share_btn.py
CHANGED
@@ -33,7 +33,9 @@ async () => {
|
|
33 |
// do something with the blob;
|
34 |
console.log(blob);
|
35 |
|
36 |
-
let videoBlob = URL.createObjectURL(blob);
|
|
|
|
|
37 |
console.log(videoBlob);
|
38 |
return videoBlob;
|
39 |
});
|
|
|
33 |
// do something with the blob;
|
34 |
console.log(blob);
|
35 |
|
36 |
+
//let videoBlob = URL.createObjectURL(blob);
|
37 |
+
|
38 |
+
let videoBlob = new File([blob], { type: 'video/mp4' });
|
39 |
console.log(videoBlob);
|
40 |
return videoBlob;
|
41 |
});
|