Progressive MP3 loading
See original GitHub issueHi I’m loading the waveform from a json file and the audio from a local server
wavesurfer.util
.fetchFile({
responseType: 'json',
url: myWaveformURL
})
.on('success', function (data) {
var points = data.data || data;
wavesurfer.load(myStreamingURL,
points
);
if (autoPlay) { // autoplay
// not working: The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page
wavesurfer.seekTo(0);
setTimeout(() => wavesurfer.play(), 1000);
} else { // seek to load annotations data
wavesurfer.seekTo(0);
}
});
I see that the player downloads the whole file (~3MB) at load
. Any way to avoid this?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
Free Progressive House Music MP3 Download - Pixabay
Progressive house music download. Royalty free progressive house music MP3 download. Use the audio track and instrumentals in your next project.
Read more >Progressive House DJ Mixes & Live Sets 2022 MP3 Download
Here you can download and listen online latest progressive house music, songs and remixes in DJ live sets and mixtapes in MP3 format...
Read more >Download free Progressive House MP3 - starfrosch
Progressive House. Download the hottest free Progressive House MP3 music tracks. Stream and download over 30000 no copyright, Open Progressive House free ...
Read more >Progressive House Live Sets & DJ Mixes to Listen or Download
The best Progressive House Live Sets to download from Soundcloud and Zippyshare! Only the best DJ Mixes with track list collection of Festival...
Read more >Progressive House | All | Use With Attribution | Search Results
FREE DOWNLOAD MP3 & WAV. This music is free to use only if you credit the artist. If you don't want to credit...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
try using
backend: 'MediaElement'
.try this flow: https://github.com/katspaugh/wavesurfer.js/blob/master/example/audio-element/main.js#L39 I don’t use regions plugin, can’t help you there. Will close since original issue is solved.