You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
@jfversluis Yes I can confirm it is still an issue. Unfortunately it is a limittation of the default configuration for the video render. It is not recommended to change it but it can be done. It would affect performance and has been discussed in the past in monthly standup. I don't remember what we decided atm. The current renderer that is default is SurfaceView The one we would need to add for rotating video's or transparencies to work is TextureView which is available as an option. If anything we can discuss it again and go over the pro's and cons of adding it or not.
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
The text was updated successfully, but these errors were encountered: