1j01 / 98

💿 Web-based Windows 98 desktop recreation █████▓█▓▓▒▓▒▒░▒░░░🗕︎🗗︎🗙︎
https://98.js.org
1.17k stars 187 forks source link

Saving not working in Sound Recorder #4

Open 1j01 opened 6 years ago

1j01 commented 6 years ago

There's no error message or anything, it just makes the playback audio stop (and subsequently go into stereo where it's previously mono for some reason?)

1j01 commented 6 years ago

I think it's failing just on the click() of the <a download>, not generating the wave file The event would be untrusted because it generates the wave file asynchronously (between your click and the click())

1j01 commented 6 years ago

For within 98, I could implement file dialogs and a file system, and override file saving (um, although this doesn't use saveAs currently), but for the standalone app, I'd need to show the resulting download link (or a download button) in a window or something.