public void Stop()
 {
     try
     {
         player.Stop();
         PlaybackState = Gnosis.PlaybackState.Stopped;
         OnStopped();
     }
     catch (Exception ex)
     {
         logger.Error("  VideoPlayerControl.Stop", ex);
     }
 }