When listening to a recitation, if the internet connection is suddenly lost, audio playback stops immediately, even though the next few seconds are already buffered, or in some cases, the entire audio file has already been downloaded. Playback should continue as long as buffered or downloaded audio is available.
Additionally, when playback stops, there is no indication of the exact ayah where it was interrupted. If playback cannot continue because the buffer has been exhausted, the player should:
  • Keep the progress bar frozen at its last playback position instead of resetting or behaving unexpectedly.
  • Keep the current ayah in view instead of suddenly scrolling to the bottom of the page.
This would provide a much smoother offline experience and make it much easier for users to resume listening once the connection is restored.