Xamarin Form IOS Screen Is not full stretched when when i change the device orientaition
I am putting <shared:MediaPlayerElement x:Name="myvideo" Unfocused="Myvideo_Unfocused"/>
code inside .Xaml and All other heavy lifting is on .cs part ..... Core.Initialize();
_libvlc = new LibVLC();
var media = new Media(_libvlc,
VideoUrl, FromType.FromLocation);
myvideo.MediaPlayer = new MediaPlayer(media) { EnableHardwareDecoding = true};
myvideo.MediaPlayer.Play();
MessagingCenter.Subscribe<string>(this, "OnPause", app =>
{
myvideo.MediaPlayer.Stop();
});
.......