Closed defagos closed 2 years ago
Available for review on feature/pinch-improvements
.
I ensured that fill mode is not supported anymore if aspect ratios of the content / layer mismatch (up to some epsilon tolerance).
The check to fill gravity support wasn't call at good time when the controls with the timeline are animated automatically.
We iterated and decided to compare the presentation size to the Letterbox view size.
When zooming is not possible (e.g. full-screen playback of a 16:9 video on an iPhone SE) then the zoom gesture should not do anything. Currently it silently toggles content gravity, which means an extra pinch out gesture is required to exit full screen mode.
Issue type
Incorrect behavior
Environment information
Reproducibility
Always reproducible
Steps to reproduce
-letterboxViewShouldDisplayFullScreenToggleButton:
in the advanced palyer demo.