freealise commited on
Commit
1a23744
·
verified ·
1 Parent(s): 56f23e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -6
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
- var uInt8Array = new Uint8Array(this.response);
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