quran / quran.com-frontend

quran.com frontend
https://quran.com
MIT License
990 stars 361 forks source link

Player loading endlessly after selecting a verse #830

Closed Papisco closed 7 years ago

Papisco commented 7 years ago

When selecting a verse after 20 for instance in Surah An Nur the player is loading and never ends.

benweet commented 7 years ago

Same problem here.

imadmk commented 7 years ago

This is maybe a known bug on here. It is partly done, maybe you can check on staging.quran.com and check if it still exist.

What i found done on staging is, a bug that makes audio player to stuck on loading state after we change to any verse. But i found another bug if we play the audio or press next until ayah > 1, and then move to other chapter / surah via navbar. In production, the audio player still stuck on loading state, but on staging, the page is stuck on loading, nothing loads other than navbar and footer.

If no one haven't fix this yet, Insha Allah i will try to fix this.

mmahalwy commented 7 years ago

Might be fixed by https://github.com/quran/quran.com-frontend/pull/843

naveed-ahmad commented 7 years ago

@imadmk ayah and surah navigation is fixed https://github.com/quran/quran.com-frontend/pull/863

naveed-ahmad commented 7 years ago

@mmahalwy graphql is great, but we should have fallback option. Looks like your PR may take few more week/month :)