Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In order to have the waveform drawn, the first track/song has to be downloaded but when the first track/song is clicked, it tries to re-download the file. A new connection is started, the download will not happen because the file is loaded from cache but the waveform will be redrawn which is a bit confusing.
On a slow connection and with a medium/low-end device is more noticeable.
This behavior is not present when the play button is pushed (the song is playing immediately and the waveform doesn't have to be refreshed/redrawn).
Thank you!
Comment | File | Size | Author |
---|---|---|---|
#2 | wavesurfer_imitate_play_behavior_clicking_loaded_track-2940718-2.patch | 1.53 KB | Daniel.Moberly |
Comments
Comment #2
Daniel.Moberly CreditAttribution: Daniel.Moberly commentedChanging title slightly as this actually applies for other tracks as well (don't need to re-load them if they're already loaded).
Attaching a patch for testing.
Comment #3
gge CreditAttribution: gge commentedWow that was a really fast fix! :) It works great now! Thank you very much!
Comment #5
Daniel.Moberly CreditAttribution: Daniel.Moberly commentedI try my best! Thanks for reporting the issue!