Page MenuHomePhabricator

Media files continue playing when you leave the article or exit the app
Closed, ResolvedPublic1 Estimated Story Points

Description

If you start playing a media file, for example the one in [[When Johnny Comes Marching Home]], and then navigate to another article, the file continues to play.

Also, if you press the home button to leave the app, the file continues to play in the background (unless you fully close the app by clearing from recent apps).

Also, it is possible to play multiple media files simultaneously (which is almost never a desired behavior), and it is impossible to turn one off unless you navigate back to the place where the player is within its article.

I'm not sure what the ideal way of handling media files in articles should be, but I think embedding a player within the app interface (instead of keeping it within the body of the article) would make sense. That way, when you tap to start playing a media file, it opens it in a player within the menu. Then you could continue navigating, but you could simply open the menu to control the playback.


Version: Beta
Severity: normal

Details

Reference
bz66475

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:18 AM
bzimport set Reference to bz66475.
bzimport added a subscriber: Unknown Object (MLST).

Change 139887 had a related patch set uploaded by Dbrant:
Stop playback of media files when leaving page.

https://gerrit.wikimedia.org/r/139887

Change 139887 merged by jenkins-bot:
Stop playback of media files when leaving page.

https://gerrit.wikimedia.org/r/139887

Had to revert this because it caused all audio to stop; not just from our app but from other apps as well.

See https://ticket.wikimedia.org/otrs/index.pl?Action=AgentZoom&TicketID=7613380

Dbrant triaged this task as Medium priority.May 4 2015, 10:20 PM
Dbrant moved this task from Needs Triage to Bug Backlog on the Wikipedia-Android-App-Backlog board.
Dbrant subscribed.
Niedzielski subscribed.

On Gingerbread, whenever I rotate the phone the audio seems to stop.

MBinder_WMF set the point value for this task to 1.May 18 2016, 7:50 PM

Updated description of this issue:
If you start playing a media file, for example the one in [[When Johnny Comes Marching Home]], and then navigate to another article, the file continues to play.
-> When navigate to another article, audio stops playing.
-> [[When Johnny Comes Marching Home]] doesn't work, could try [[Radiohead]]

Charlotte reopened this task as Open.