katspaugh / wavesurfer.js

Audio waveform player
https://wavesurfer.xyz
BSD 3-Clause "New" or "Revised" License
8.43k stars 1.59k forks source link

Wavesurfer progress bar not moving #3740

Open Amits07-ui opened 1 month ago

Amits07-ui commented 1 month ago

Steps to reproduce bug: i) Open this link https://wavesurfer.xyz/examples/?events.js on iOS device ii) Click in the middle of wavesurfer waveform and then play it, now you can observe that audio gets start but progresss bar is not moving. iii) Might be because of this we are not receiving "timeupdate" and "audioprocess" events.

Environment

-iOS Mobile devices

https://github.com/katspaugh/wavesurfer.js/assets/172488596/3f3294f6-ed0d-48be-9a65-6c98ee105fae

Minimal code snippet

Expected result

Obtained result

Screenshots

katspaugh commented 3 weeks ago

It works on my phone. Please feel free to reopen if you have any details on how to reproduce this.

Amits07-ui commented 3 weeks ago

It works on my phone. Please feel free to reopen if you have any details on how to reproduce this.

I am still able to reproduce this, please find attached video. In video first I have played without clicking in middle of waveform then the progress bar was moving fine but again after reloading when I tried clicking in the middle of the waveform and then played progress bar was not moving. Attached video is of iOS version 17.5 Safari browser.

https://github.com/katspaugh/wavesurfer.js/assets/172488596/50a1c30e-efc7-472a-8649-c0270d8fa0dd

FYI - Wavesurfer.js version - 7.4.0

Steps to reproduce:- i) Open this link https://wavesurfer.xyz/examples/?events.js on iOS device (it is not working for any version) ii) Click in the middle of wavesurfer waveform and then play it, now you can observe that audio gets start but progress bar is not moving.

Can you please let me know on which iOS version you are trying or can you please attach video of it?

katspaugh commented 3 weeks ago

Thanks, reopened 👍

rodsmyname commented 1 week ago

I had posted a potential solution but this issue seems unrelated. I also see this on my end, and it would be great to have a fix on it!