mirror of
https://github.com/kevin-DL/vue-audio-recorder.git
synced 2026-01-23 15:51:26 +00:00
Add WAV support
This commit is contained in:
@@ -27,9 +27,10 @@
|
||||
return
|
||||
}
|
||||
|
||||
const type = this.record.blob.type.split('/')[1]
|
||||
const link = document.createElement('a')
|
||||
link.href = this.record.url
|
||||
link.download = `${this.filename}.mp3`
|
||||
link.download = `${this.filename}.${type}`
|
||||
link.click()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user