Page MenuHomePhabricator

When audio loses focus, it doesn't actually pause
Closed, ResolvedPublic1 Estimated Story Points

Description

If you begin playing an audio file and then switch pages, the audio stops playing (good).

If you return to the article, the player looks like it is paused at the timestamp where you navigated away (good).

However, if you try to resume play, it takes a moment and then begins playback at a later point. It seems the file continues to play silently, and the player gui only realizes this after you tap play again.


Version: Alpha
Severity: normal

Details

Reference
bz66750

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:20 AM
bzimport set Reference to bz66750.
bzimport added a subscriber: Unknown Object (MLST).
Dbrant triaged this task as Medium priority.May 4 2015, 10:21 PM
Dbrant moved this task from Needs Triage to Bug Backlog on the Wikipedia-Android-App-Backlog board.
Dbrant subscribed.
MBinder_WMF set the point value for this task to 1.May 18 2016, 7:50 PM

For the updated description of this issue:

If you begin playing an audio file and then switch pages, the audio stops playing (good).
-> Same (good)

If you return to the article, the player looks like it is paused at the timestamp where you navigated away (good).
-> It restart the audio from the beginning (good)

However, if you try to resume play, it takes a moment and then begins playback at a later point. It seems the file continues to play silently, and the player gui only realizes this after you tap play again.
-> This issue happens when:

  1. plays a audio and then pauses it.
  2. browses photos which are in the article for more 10 seconds
  3. back to audio player and sometimes we will get interrupted/terminated audio