wordpress-mobile / wordpress-mobile/WordPress-Android
Reader: VideoPress videos are reset when rotating the device
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 3.2k
- Forks
- 1.4k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 69
Description
Expected behavior
When playing a VideoPress video in the Reader, it should preserve its playing status independently of rotating the device.
Actual behavior
When rotating the device, VideoPress videos played from the Reader are reset including the ones being currently played. This gets worse when playing the video fullscreen, as it dismisses when rotating. This means that the user needs to play it from the start and go fullscreen again.
Steps to reproduce the behavior
- Open a post that contains a VideoPress video in the Reader.
- Tap on the video to play it.
- Rotate the device.
- Observe the video is reset.
Tested on Samsung Galaxy S20 FE 5G, Android 13, JPAndroid / WPAndroid 22.8-rc-3
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 source file or test is named. First reproduce the reset by opening a Reader post with a VideoPress video, playing it, and rotating the device; then search the Reader and VideoPress Android implementation for the rotation-related lifecycle path. Done means playback state, position, and fullscreen status are preserved across rotation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100