public void Dispose()
 {
     if (IsPlaying)
     {
         EasyPlayerAPI.Close(player);
     }
     if (IsInit)
     {
         EasyPlayerAPI.Release(player);
     }
     player = IntPtr.Zero;
     IsInit = false;
 }
 public void Stop()
 {
     EasyPlayerAPI.Close(player);
     IsPlaying = false;
 }