Update share_btn.py
Browse files- share_btn.py +2 -2
share_btn.py
CHANGED
@@ -67,7 +67,7 @@ async () => {
|
|
67 |
loadingIconEl.style.removeProperty('display');
|
68 |
|
69 |
const videoFile = await getOutputVideoFile(outputVideo_src);
|
70 |
-
|
71 |
|
72 |
|
73 |
const descriptionMd = `
|
@@ -75,7 +75,7 @@ async () => {
|
|
75 |
${whisper_input}
|
76 |
#### Video:
|
77 |
<video controls>
|
78 |
-
<source src="${
|
79 |
Your browser does not support the video element.
|
80 |
</video>
|
81 |
`;
|
|
|
67 |
loadingIconEl.style.removeProperty('display');
|
68 |
|
69 |
const videoFile = await getOutputVideoFile(outputVideo_src);
|
70 |
+
const dataOutputVideo = await uploadFile(videoFile);
|
71 |
|
72 |
|
73 |
const descriptionMd = `
|
|
|
75 |
${whisper_input}
|
76 |
#### Video:
|
77 |
<video controls>
|
78 |
+
<source src="${dataOutputVideo}" type="video/mp4">
|
79 |
Your browser does not support the video element.
|
80 |
</video>
|
81 |
`;
|