wavesurfer.js: Waveform microphone plugin is not mobile responsive
Looks perfect on desktop but the wave becomes too thin.
I’m only using the microphone so waveform.zoom may not be a solution.
This is what I think might be help but it remains the same:
wavesurfer.on('ready', function() { wavesurfer.zoom(100); console.log("zoomed"); });
Here’s a screenshot of what it looks like right now.
You can also run the demo plugin here on mobile to see what I mean.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 30 (14 by maintainers)
@ToJen hey, yes I’ll post the update today.
The following variable will change the bar height, I’ll make this into a parameter like “barHeight” or something.
var absmax = 1;I noticed someone already suggested this feature here as well. #944
@ToJen the update
barHeightshould be available shortly on version 1.3.5 #1036.