quasar-wavesurfer-audio-player icon indicating copy to clipboard operation
quasar-wavesurfer-audio-player copied to clipboard

Upload fails on Safari iOS

Open sonicviz opened this issue 5 years ago • 0 comments

Thanks for the great article/tutorial.

Unfortunately file uploads fail to work on Safari in iOS due to Wavesurfer ready not being fired. Explained here: https://github.com/katspaugh/wavesurfer.js/issues/1567

// Safari 11 or newer automatically suspends new AudioContext's that aren't // created in response to a user-gesture, like a click or tap, so create one // here (inc. the script processor)

I've tried various workaround on the upload click but no luck getting it to work, which is frustrating as it works everywhere else.

If you know of a solution that would be great.

sonicviz avatar Jul 16 '20 09:07 sonicviz