-
function downloadFile(data, fileName, type="video/mp4") { const a = document.createElement("a"); a.style.display = "none"; document.body.appendChild(a); a.href = window.URL.createObjectURL( new Blob([data], { type …
- 380 views
- 0 answers
- 0 votes
function downloadFile(data, fileName, type="video/mp4") { const a = document.createElement("a"); a.style.display = "none"; document.body.appendChild(a); a.href = window.URL.createObjectURL( new Blob([data], { type …