Update app.py
Browse files
app.py
CHANGED
|
@@ -462,12 +462,8 @@ try {
|
|
| 462 |
const xhttp = new XMLHttpRequest();
|
| 463 |
xhttp.onreadystatechange = function() {
|
| 464 |
if (this.readyState == 4 && this.status == 200) {
|
| 465 |
-
|
| 466 |
-
|
| 467 |
-
for (var i = 0, len = uInt8Array.length; i < len; ++i) {
|
| 468 |
-
uInt8Array[i] = this.response[i];
|
| 469 |
-
}
|
| 470 |
-
const blob = new Blob([uInt8Array], {
|
| 471 |
type: "video/mp4",
|
| 472 |
});
|
| 473 |
|
|
|
|
| 462 |
const xhttp = new XMLHttpRequest();
|
| 463 |
xhttp.onreadystatechange = function() {
|
| 464 |
if (this.readyState == 4 && this.status == 200) {
|
| 465 |
+
|
| 466 |
+
const blob = new Blob([this.response], {
|
|
|
|
|
|
|
|
|
|
|
|
|
| 467 |
type: "video/mp4",
|
| 468 |
});
|
| 469 |
|