quran / quran.com-frontend

quran.com frontend
https://quran.com
MIT License
988 stars 360 forks source link

Player is buggy #1135

Open najibghadri opened 4 years ago

najibghadri commented 4 years ago

I'm submitting a ...

Hello

In short the audio player is buggy. Sometimes I press play, nothing happens, sometimes it works if I press play from the list but sometimes only if I press play from the bottom media navigator. Then also on some verses it works on some it doesn't. Then, sometimes after a couple of verses the player stops and freezes, requiring a full reload and restart for somehting to play again. Besides these, the verse scroller is not working. I have visited this website two years ago, and now, and these problems were the same. Otherwise it would be a really cool player, maybe the best. I would suggest a deep revision of the player architecture. Hope it will be fixed.

Anything else: Chrome Version 80.0.3987.122 (Official Build) (64-bit)

Some errors from the console:

content.js:143 Uncaught ReferenceError: platform is not defined at content.js:143 at content.js:143 41:1 Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause(). https://goo.gl/LdLk22

ali-suleiman-44b20b39 commented 4 years ago

I have encountered both of these issues today. With the first one audio not playing, I was able to get around this by clicking the gear and the selecting a reciter, then it was able to play. I just found that this issue is already reported in good detail in #1046

The second issue OP mentioned with scrolling is challenging, basically to restate the issue as I experienced it. When you are continuously playing it will jump to an incorrect section of the page when going from one verse to the next.