Baseflow / XamarinMediaManager

Cross platform Xamarin plugin to play and control Audio and Video
https://baseflow.com
MIT License
768 stars 305 forks source link

In UWP the aspect ratio of the video is not correctly adjusted (Xamarin.Forms) #829

Open Sergtek opened 3 years ago

Sergtek commented 3 years ago

🐛 Bug Report

When I add the video player with a custom width and height on a page the video aspect ratio does not fit correctly to the indicated size causing the video controls to hide, this only happens in UWP.

Expected behavior

In case of using a custom width and height, the video player in UWP must correctly adjust the aspect ratio of the video without losing the video controls.

Reproduction steps

I have uploaded a repository where you can see the problem: https://github.com/nacompllo/MediaManagerUWPIssue

In UWP the aspect ratio of the video is not correctly adjusted to the indicated size and the video controls are lost.

MediaManagerUWPIssue UWP 31_07_2021 16_29_45

Configuration

Plugin.MediaManager.Forms 1.0.9 Xamarin.Forms 5.0.0.2083

Platform: