filestash icon indicating copy to clipboard operation
filestash copied to clipboard

[bug] wavesurfer.js related error when navigating audioplayer position on mobile

Open kevinpan47 opened this issue 1 year ago • 5 comments

Description of the bug

Clicking towards the beginning of the audio player will error out on mobile.

Step by step instructions to reproduce the bug

  1. Go to the demo site on a mobile device
  2. Open up an audio file
  3. Scroll to the end of the audio, then tap towards the beginning leftmost edge of the audio player
  4. After a few taps, it should show you the error.

Can you replicate that error from the demo?

Screenshot_2023-04-17-13-28-41-14_df198e732186825c8df26e3c5a10d7cd.jpg

Observed behavior

See screen shot

Expected behavior

Tapping towards the beginning/leftmost edge of the audio player should just navigate the audio track back to the beginning.

kevinpan47 avatar Apr 17 '23 18:04 kevinpan47

I believe that this issue is coming from wavesurfer.js (as mentioned in this issue), but it seems like something that has been fixed already in newer versions of wavesurfer. Would it be a bad idea to upgrade that package or any other packages, for that matter?

kevinpan47 avatar Apr 17 '23 18:04 kevinpan47

Interesting, does this still happen with the upgrade of wavesurfer to the new version?

mickael-kerjean-qantas avatar Apr 18 '23 13:04 mickael-kerjean-qantas

Upgrading to the latest version of wavesurfer seems to fix this issue, but it also breaks the loading spinner (the loaded percentage is stuck at 0 and does progress as file downloads).

kevinpan47 avatar Apr 18 '23 20:04 kevinpan47

I can't replicate that on my end, what setup do you use to get stuck at 0?

mickael-kerjean-qantas avatar Apr 19 '23 10:04 mickael-kerjean-qantas

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 18 '23 14:06 stale[bot]