private void HandleVideoPlayerMediaEnded(Object sender, RoutedEventArgs e)
 {
     if (_receiver != null)
     {
         _receiver.NotifyEnded();
         VideoPlayer.Stop();
     }
 }
 private void dmrVideo_MediaEnded(object sender, RoutedEventArgs e)
 {
     if (IsReceiverStarted)
     {
         receiver.NotifyEnded();
         if (dmrVideo != null)
         {
             dmrVideo.Stop();
         }
     }
 }