'Xamarin: xct:MediaElement turns blank and video continue playing

I use the following code for MediaElement android Xamarin forms. Video play fine, but each time I try to record my screen with another screen recorder, Xamarin MediaElement turn blank, unless I stop the screen recorder app.

       <xct:MediaElement ShowsPlaybackControls="True" AutoPlay="True" HeightRequest="850" 
             WidthRequest="370"HorizontalOptions="CenterAndExpand" x:Name="cli"/>

     cli.Source = "android.resource://" + Android.App.Application.Context.PackageName + "/" + "raw/four";


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source