Fix vertical video hiding title and controls #1081
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #1034
Vertical video height does not obey bounds and overlays the title and podcast description/is clipped by the Now Playing heading.
To test
Downloaded two videos locally to test, one in landscape mode, and the other with a vertical aspect ratio (the latter the same as referenced in the original report):
Referenced vertical aspect video: https://en1.y2mate.is/w0p4c/watch?v=AQOm1WCV-g4
Test landscape aspect video: https://en1.y2mate.is/w0p3b/watch?v=C0DPdy98e4c
Once the videos were downloaded locally, they were dragged to the Photos app in each simulator, opened, and then shared with the Pocket Casts application:
Once added, videos can be accessed by clicking on the Profile tab, and Files:
The current issue for vertical videos (it hides the title and the top is clipped by the Now Playing heading for vertical videos). Landscape aspect videos do not present these issues:
Issue fix tested on various devices, including landscape video:
iPhone SE 3rd Gen:
iPad 10th Gen - The issue was also present, both in portrait and landscape orientations:
Before fix:
After fix:
Checklist
✅ I have considered if this change warrants user-facing release notes and have added them to
CHANGELOG.md
if necessary.Rich: Nothing is needed, as it falls under general bug fixes.
✅ I have considered adding unit tests for my changes.
Rich: Unit tests not deemed necessary.
✅ I have updated (or requested that someone edit) the spreadsheet to reflect any new or changed analytics.
Rich: Requesting updates to the spreadsheet, if any are needed.