quran.com-frontend-next
quran.com-frontend-next copied to clipboard
[bug]: Audio player plays all of the chapter instead of just playing requested verses
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
- Open part of a chapter (e.g. verse 10 - 17)
- Press play button
- 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)
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).