quran / quran.com-frontend-next

Frontend build on next.js
https://quran.com
1.36k stars 394 forks source link

[bug]: When repeating an Ayah or a set of verses, the audio keeps pausing/resuming by itself #1978

Open hazem3500 opened 1 year ago

hazem3500 commented 1 year ago

Is there an existing issue for this?

Describe the bug

When I open the repeat settings and try to repeat a Surah, the audio keeps pausing/resuming between each Ayah.

Kapture 2023-05-29 at 18.30.47.webm

Relevant log output

No response

Steps to reproduce

  1. Go to any Surah
  2. Click on Play Audio
  3. Pause audio
  4. Click on the More three dotted option in the media player
  5. Click on Manage repeat settings
  6. Go to Full Surah tab
  7. Change Play range to have a value of
  8. Check if the media player pauses a bit between playing each Ayah

Environment (please complete the following information) and Add any other context about this bug

OS: MacOS 13.3.1 Browser: Arc (based on Chromium) Version: Chromium Engine Version 113.0.5672.126

Environment

Production(quran.com)

omarzawahry commented 1 year ago

Managed to reproduce this. however, I think a brief pause is fine (I think it's done on purpose). The issue though is that when it gets set to 1, it still pauses, which I think shouldn't happen as repeat 1 should be a normal recitation with no pauses in between.

image

SuperNova74-K commented 1 year ago

For me it's worse, the repeat surah feature doesn't even work at all, once the surah finishes, it doesn't repeat it on it's own and I have to play it again on my own, not the end of the world but can get better :)

Should I write another issue or is it related to this one ?

elidrissidev commented 1 year ago

Assalamu Alaikom, In the video you shared, you left the "Delay between verse" setting set to 1 which is what's the controlling the pause between each verse. If I set it to 0 it plays normally with no pause.