download from blob url
const blobUrl = "" fetch(blobUrl) .then(response => response.blob()) .then(blob => { const url = window.URL.createObjectURL(blob); const a = document.createElement('a'); a.style.display = 'none'; a.href = url; const filename = blobUrl.slice(-8) + '.mp4'; a.download = filename; document.body.appendChild(a); a.click(); window.URL.revokeObjectURL(url); }) .catch(e => console.error('Download failed:', e));












