title: Xamarin MediaElement: Disable standard popup on MediaFailed
body: <p>For some reason I have sometimes problems with the video files I want to play with the MediaElement video player. This is, why I created a MediaFailed method:</p>
  <pre><code>    public void OnMediaFailed(object sender, EventArgs e)
      {
          try
          {
              DisplayAlert(&quot;Error&quot;, &quot;My Error Message&quot;, &quot;Close&quot;);
               Shell.Current.GoToAsync(&quot;..&quot;);
          }
          catch(Exception ex)
          {
  
          }
  
      }
  
  &lt;xct:MediaElement 
      x:Name=&quot;Videoelement&quot;
      ShowsPlaybackControls=&quot;True&quot;
      Aspect=&quot;AspectFit&quot;
      MediaFailed=&quot;OnMediaFailed&quot;
  /&gt;
  </code></pre>
  <p>This works fine. However there is a standard error popup message &quot;Can't play this video&quot;. This standard popup always pops up on top of my costum popup. Is there a way to disable the standard popup?</p>
  <p>Here is a Screenshot of the standard popup message:
  <a href="https://i.stack.imgur.com/BZkK5.png" rel="nofollow noreferrer">Link</a></p>