quran.com-frontend-next icon indicating copy to clipboard operation
quran.com-frontend-next copied to clipboard

[bug]: Audio player plays all of the chapter instead of just playing requested verses

Open Admia1 opened this issue 2 years ago • 1 comments

Is there an existing issue for this?

  • [X] There is no exsiting issue for this bug

Describe the bug

For example When I open Ayatul-kursi and press the Play button It start playing the Ayatul-kursi but after it reach end of this verse it continues to next verse which I can't see.

Relevant log output

No response

Steps to reproduce

  1. Open part of a chapter (e.g. verse 10 - 17)
  2. Press play button
  3. wait player reach end of last verse but it don't stop and go to next verse you didn't want to read

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

OS : Ubuntu Browser : Firefox

Environment

Production(quran.com)

Admia1 avatar May 21 '22 04:05 Admia1

Asalam-ul-alaykom.

I think you pointed a good issue here, i guess the issue is bigger than it seems.

After looking in to this issue, We are missing the whole chapter and verse context in the app. If we add this context we can solve a lot of issues with it. (eg: if you refresh the ayatul-kursi that you visited, the footer player will start the audio from the start not knowing that it is in the context of a specific verse).

hasibsahibzada avatar May 26 '22 06:05 hasibsahibzada