Update share_btn.py
Browse files- share_btn.py +1 -1
share_btn.py
CHANGED
@@ -25,7 +25,7 @@ share_js = """async () => {
|
|
25 |
|
26 |
async function getOutputVideoFile(videoEL){
|
27 |
|
28 |
-
const res = await fetch(videoEL.src,
|
29 |
const blob = await res.blob();
|
30 |
const videoId = Date.now() % 200;
|
31 |
const fileName = `talking-portrait-${{videoId}}.mp4`;
|
|
|
25 |
|
26 |
async function getOutputVideoFile(videoEL){
|
27 |
|
28 |
+
const res = await fetch(videoEL.src, { mode: 'no-cors'});
|
29 |
const blob = await res.blob();
|
30 |
const videoId = Date.now() % 200;
|
31 |
const fileName = `talking-portrait-${{videoId}}.mp4`;
|