wordpress-mobile / wordpress-mobile/WordPress-Android
Reader: Audio keeps playing after swipe back from post
Open
Nobody has claimed this yet.
[Type] Enhancement
Reader
- Dominant language
- Kotlin
- Stars
- 3.2k
- Forks
- 1.4k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 69
Description
Expected behavior
The audio block was recently supported in the Gutenberg editor. When the block is viewed in the Reader, and audio is played, it should stop when leaving the post.
Actual behavior
When the audio block is viewed in the Reader, and audio is played, when leaving the post, it keeps playing in the background.
Steps to reproduce the behavior
- Using a WordPress.com site on a free plan, add an audio block to a post.
File samples can be found here if you need them. - Insert an audio file from a URL and update the post.
- View the post in the Reader and play the audio.
- Tap the device Back Button or swipe back.
- Notice that the audio keeps playing.
Tested on Pixel 5, Android 11, WPAndroid 17.6-rc-1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or code entry points are named. First reproduce the issue on Android by playing an audio block in a Reader post and navigating back; done means the audio stops after either the device Back button or a swipe-back gesture.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100