Waveforms Should Be URLs #507
danpastori
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
👉 Describe the problem
When generating a waveform, the audio file is loaded twice or is only loaded up to what is buffered. This leads to terrible UI since it's either two requests, or partially shown.
👥 Problem evidence & reach
Any user working with waveforms.
🥰 Describe the "impact" on users?
When displaying a waveform, we should allow the user to pass in a URL. We can generate waveforms using Amplitude Hosting and these will be SVGs making for much speedier, responsive players.
🏆 How to solve this problem
Allow for a waveform to be a URL for the audio file and encourage this. We will remove all waveform generating functionality and abstract it to a plugin. This will be a breaking change, but will lead to much cleaner code, smaller compiled sizes, and better UX.
💯 How do we validate the problem is solved?
A user can generate a waveform through Amplitude Hosting or their own provider and pass it along with an audio file so it loads instantly.
Beta Was this translation helpful? Give feedback.
All reactions