Update templates/index.html
Browse files- templates/index.html +2 -2
templates/index.html
CHANGED
@@ -182,12 +182,12 @@
|
|
182 |
responseType: 'blob'
|
183 |
},
|
184 |
success: function(response) {
|
185 |
-
const blob = new Blob([response], { type: '
|
186 |
const downloadUrl = window.URL.createObjectURL(blob);
|
187 |
const a = document.createElement('a');
|
188 |
a.style.display = 'none';
|
189 |
a.href = downloadUrl;
|
190 |
-
a.download = $('#videoTitle').text() + '.
|
191 |
document.body.appendChild(a);
|
192 |
a.click();
|
193 |
window.URL.revokeObjectURL(downloadUrl);
|
|
|
182 |
responseType: 'blob'
|
183 |
},
|
184 |
success: function(response) {
|
185 |
+
const blob = new Blob([response], { type: 'video/mp4' });
|
186 |
const downloadUrl = window.URL.createObjectURL(blob);
|
187 |
const a = document.createElement('a');
|
188 |
a.style.display = 'none';
|
189 |
a.href = downloadUrl;
|
190 |
+
a.download = $('#videoTitle').text() + '.mp4';
|
191 |
document.body.appendChild(a);
|
192 |
a.click();
|
193 |
window.URL.revokeObjectURL(downloadUrl);
|