The .NET MAUI Community Toolkit is a community-created library that contains .NET MAUI Extensions, Advanced UI/UX Controls, and Behaviors to help make your life as a .NET MAUI developer easier
When a MediaElement is rotated, on iOS both the video frame and video content are rotated together, e.g. a 90-degree rotation gives a landscape orientation without changing the app's orientation.
On Android, however, although the video frame is rotated correctly, the content stays as is.
iOS:
Android:
Expected Behavior
It is expected that on Android both video frame and the content rotate together, similar to iOS implementation.
Is there an existing issue for this?
Did you read the "Reporting a bug" section on Contributing file?
Current Behavior
When a MediaElement is rotated, on iOS both the video frame and video content are rotated together, e.g. a 90-degree rotation gives a landscape orientation without changing the app's orientation.
On Android, however, although the video frame is rotated correctly, the content stays as is.
iOS:
Android:
Expected Behavior
It is expected that on Android both video frame and the content rotate together, similar to iOS implementation.
Steps To Reproduce
Link to public reproduction project repository
https://github.com/cagriy/MediaElementBug
Environment
Anything else?
No response